summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2001-12-19 04:55:58 +0000
committerMartin Pool <mbp@samba.org>2001-12-19 04:55:58 +0000
commit55f6eefe12d4864724fc4cb0584ef1426e27ff7b (patch)
tree975032db094f99cc05c7004c0258a9e54a817ff4 /source3/include
parent4f74ff94505fd968c45f0c3ba72b4c62325f211a (diff)
downloadsamba-55f6eefe12d4864724fc4cb0584ef1426e27ff7b.tar.gz
samba-55f6eefe12d4864724fc4cb0584ef1426e27ff7b.tar.bz2
samba-55f6eefe12d4864724fc4cb0584ef1426e27ff7b.zip
Doc.
(This used to be commit 5b6c22a209a26cb9adbf6d7733d396038c729633)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index ec4628e51f..3b2b1db877 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -54,8 +54,10 @@
#endif
#endif
-/* use gcc attribute to check printf fns */
#ifdef __GNUC__
+/** Use gcc attribute to check printf fns. a1 is the 1-based index of
+ * the parameter containing the format, and a2 the index of the first
+ * argument. **/
#define PRINTF_ATTRIBUTE(a1, a2) __attribute__ ((format (__printf__, a1, a2)))
#else
#define PRINTF_ATTRIBUTE(a1, a2)