xref: /haiku/headers/posix/stdio_pre.h (revision 173f54f1473bd6a6511c5fc6dc899c91fb8dd667)
179d76063SAxel Dörfler /*
2*173f54f1SMatt Madia  * Copyright 2003-2012 Haiku, Inc. All Rights Reserved.
30fae8733SScott McCreary  * Distributed under the terms of the MIT License.
479d76063SAxel Dörfler  */
51062a34eSAxel Dörfler #ifndef _STDIO_PRE_H_
61062a34eSAxel Dörfler #define _STDIO_PRE_H_
779d76063SAxel Dörfler 
80fae8733SScott McCreary 
979d76063SAxel Dörfler #ifndef _STDIO_H_
1079d76063SAxel Dörfler #	error "This file must be included from stdio.h!"
1179d76063SAxel Dörfler #endif
1279d76063SAxel Dörfler 
131062a34eSAxel Dörfler #include <libio.h>
1479d76063SAxel Dörfler 
151062a34eSAxel Dörfler typedef struct _IO_FILE FILE;
1679d76063SAxel Dörfler 
172c97a8d1SIngo Weinhold #define __PRINTFLIKE(format, varargs) __attribute__ ((__format__ (__printf__, format, varargs)))
1879d76063SAxel Dörfler #define __SCANFLIKE(format, varargs) __attribute__((__format__ (__scanf__, format, varargs)))
1979d76063SAxel Dörfler 
2079d76063SAxel Dörfler #endif	/* _STDIO_PRE_H_ */
21