summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-04-25 21:31:05 -0400
committerAnthony G. Basile <blueness@gentoo.org>2013-06-03 09:05:34 -0400
commit49799c750d18beab7a8af26071893780252118b3 (patch)
tree031cd7c958ae2dae14f1d6fae26a72d498a6fbec /Makefile.am
parent7772dedbcf3bc6e5085f9351f44fe63f729109d0 (diff)
Add printf attributes in exported headers
gcc (and other compilers) sometimes generate spurious warnings, and thus users of public headers must be able to disable warnings. Printf format attributes can be disabled by setting #define _sd_printf_attr_ before including the header file. Also, add similar logic for sentinel attribute: #define _sd_sentinel_attr_ before including the header file disables the attribute.
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions