diff options
author | Gabe Black <gabeblack@google.com> | 2012-10-02 00:32:59 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-11-07 18:36:14 +0100 |
commit | e88e1ab864c636c020e124846f908439c1080d16 (patch) | |
tree | d32e6509ad7629e3ace35125ea00b8f73bd9f810 /payloads/libpayload/include/pci.h | |
parent | 5c27e82073ec6bb96a672b18c2c66773ae887ebf (diff) |
libpayload: Add the format attribute to functions in stdio.h.
gcc recognizes the format function attribute which tells the compiler to expect
the format string to look a certain way and for its arguments to be of
appropriate types. This helps to prevent errors like the one that was recently
fixed in libpayload's assert.
Change-Id: I284ae8bff32f72cfd2d1a250d126c729b38a5730
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: http://review.coreboot.org/1731
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'payloads/libpayload/include/pci.h')
0 files changed, 0 insertions, 0 deletions