1 /* 2 * Copyright 2003-2010 Haiku Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _STDIO_PRE_H_ 6 #define _STDIO_PRE_H_ 7 8 9 #ifndef _STDIO_H_ 10 # error "This file must be included from stdio.h!" 11 #endif 12 13 #include <libio.h> 14 15 typedef struct _IO_FILE FILE; 16 17 #define __PRINTFLIKE(format, varargs) __attribute__ ((__format__ (__printf__, format, varargs))) 18 #define __SCANFLIKE(format, varargs) __attribute__((__format__ (__scanf__, format, varargs))) 19 20 #endif /* _STDIO_PRE_H_ */ 21