diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2017-02-28 10:09:45 +1100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-02-28 10:09:45 +1100 |
commit | 34a9886a177f9e22930cec7eccda88df4a9f4838 (patch) | |
tree | ef2a5d3aaf066626dd2022e54d72637b28aa2e63 /Makefile | |
parent | f72508e2b6ca16016862b937ca1584b282fa637c (diff) | |
download | dtc-34a9886a177f9e22930cec7eccda88df4a9f4838.zip dtc-34a9886a177f9e22930cec7eccda88df4a9f4838.tar.gz dtc-34a9886a177f9e22930cec7eccda88df4a9f4838.tar.bz2 |
Add printf format attributes
When compiling with gcc, we already include the attribute on check_msg()
to give compiler warnings about mismatches between printf() like format
strings and the corresponding arguments. This patch adds similar
attributes for lexical_error() and die().
Suggested-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions