]> git.proxmox.com Git - mirror_qemu.git/commitdiff
HACKING: Update status of format checking
authorStefan Weil <weil@mail.berlios.de>
Fri, 25 Feb 2011 22:30:20 +0000 (16:30 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 25 Feb 2011 22:31:05 +0000 (16:31 -0600)
Hopefully all functions with printf like arguments now use format checking.

This was tested with default build configuration on linux
and windows hosts (including some cross compilations),
so chances are good that there remain few (if any) functions
without format checking.

Therefore the last comment in HACKING is no longer valid but misleading.

Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
HACKING

diff --git a/HACKING b/HACKING
index 6ba9d7e7402718d3a042e0026fd7b275e8dd6b1c..3af53fdcb8c3eb1411abf2d46e452338a68a9a28 100644 (file)
--- a/HACKING
+++ b/HACKING
@@ -120,6 +120,3 @@ gcc's printf attribute directive in the prototype.
 This makes it so gcc's -Wformat and -Wformat-security options can do
 their jobs and cross-check format strings with the number and types
 of arguments.
-
-Currently many functions in QEMU are not following this rule but
-patches to add the attribute would be very much appreciated.