diff options
author | 2015-09-27 05:13:11 +0000 | |
---|---|---|
committer | 2015-09-27 05:13:11 +0000 | |
commit | 911134d2940395eae97932b9f9c69e48c962c4de (patch) | |
tree | aa0edd5c9e5a2096908820a81a8bf6cdefc85c11 /lib/libcurses/base | |
parent | Delete obsolete lint comments (diff) | |
download | wireguard-openbsd-911134d2940395eae97932b9f9c69e48c962c4de.tar.xz wireguard-openbsd-911134d2940395eae97932b9f9c69e48c962c4de.zip |
Annotate funcs with __attribute__((printf(...))) and clean up the fallout:
* lots of foo(str) --> foo("%s", str) transformations
* one totally insane foo(fmt, ap) --> vfoo(fmt, ap) conversion: how did
this ever work?
* prefer const char[] over char* for static format strings, as it lets
gcc check the format and eliminates an unnecessary pointer
ok beck@
Diffstat (limited to 'lib/libcurses/base')
0 files changed, 0 insertions, 0 deletions