History | View | Annotate | Download (4.8 kB)
HACKING: Update status of format checking
Hopefully all functions with printf like arguments now use format checking.
This was tested with default build configuration on linuxand windows hosts (including some cross compilations),so chances are good that there remain few (if any) functions...
HACKING: add rules for printf-like functions
Add rules for printf-like functions, based on libvirt HACKING.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
HACKING: add string management rules
Add string management rules, somewhat like libvirt HACKING.
HACKING: add memory management rules
Add memory management rules, somewhat like libvirt HACKING.
HACKING: add C type rules
Add C type rules, adapted from libvirt HACKING. Also includea description of special QEMU scalar types.
Move typedef rule from CODING_STYLE rule 3 to HACKING rule 6where it belongs.
HACKING: add preprocessor rules
Add a new file, HACKING, in order to collect recurringissues with submitted patches.
Start with preprocessor rules, adapted from libvirt HACKING.