]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/boot/stdio.h
powerpc/fsl: proliferate simple-bus compatibility to soc nodes
[linux-2.6-omap-h63xx.git] / arch / powerpc / boot / stdio.h
index 73b8a91bfb34810c7af186448f6c0baf61000e93..adffc58412d4afcd8cf2e25c579fc1abcfe6a689 100644 (file)
@@ -7,11 +7,12 @@
 #define        EINVAL          22      /* Invalid argument */
 #define ENOSPC         28      /* No space left on device */
 
-extern int printf(const char *fmt, ...);
+extern int printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
 
 #define fprintf(fmt, args...)  printf(args)
 
-extern int sprintf(char *buf, const char *fmt, ...);
+extern int sprintf(char *buf, const char *fmt, ...)
+       __attribute__((format(printf, 2, 3)));
 
 extern int vsprintf(char *buf, const char *fmt, va_list args);