]> git.cameronkatri.com Git - cgit.git/commit
use __attribute__ to catch printf format mistakes
authorMark Lodato <lodatom@gmail.com>
Sat, 4 Sep 2010 15:09:57 +0000 (11:09 -0400)
committerMark Lodato <lodatom@gmail.com>
Sat, 4 Sep 2010 15:11:40 +0000 (11:11 -0400)
commita4c58d92bfee0cf2e35ab1c5e828a6d790108a69
tree4b6073081a04216525facaf06db956b4a08dffac
parentbf8293d3196d49d6c4a48b254a04415183ca2762
use __attribute__ to catch printf format mistakes

Use "__attribute__((format (printf,N,M)))", as is done in git, do catch
mistakes in printf-style format strings.

Signed-off-by: Mark Lodato <lodatom@gmail.com>
cache.h
cgit.h
html.h