summaryrefslogtreecommitdiff
path: root/lib/gcc/i686-linux-android/4.7/include-fixed/stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gcc/i686-linux-android/4.7/include-fixed/stdio.h')
-rw-r--r--lib/gcc/i686-linux-android/4.7/include-fixed/stdio.h25
1 files changed, 2 insertions, 23 deletions
diff --git a/lib/gcc/i686-linux-android/4.7/include-fixed/stdio.h b/lib/gcc/i686-linux-android/4.7/include-fixed/stdio.h
index 3656425..6de467d 100644
--- a/lib/gcc/i686-linux-android/4.7/include-fixed/stdio.h
+++ b/lib/gcc/i686-linux-android/4.7/include-fixed/stdio.h
@@ -48,7 +48,7 @@
#define _STDIO_H_
#include <sys/cdefs.h>
-#include <sys/_types.h>
+#include <sys/types.h>
/* __gnuc_va_list and size_t must be defined by stdio.h according to Posix */
#define __need___va_list
@@ -58,30 +58,9 @@
#define __need_size_t
#include <stddef.h>
+#define __need_NULL
#include <stddef.h>
-#if __BSD_VISIBLE || __POSIX_VISIBLE || __XPG_VISIBLE
-#include <sys/types.h> /* XXX should be removed */
-#endif
-
-#ifndef _SIZE_T_DEFINED_
-#define _SIZE_T_DEFINED_
-typedef unsigned long size_t;
-#endif
-
-#ifndef _OFF_T_DEFINED_
-#define _OFF_T_DEFINED_
-typedef long off_t;
-#endif
-
-#ifndef NULL
-#ifdef __GNUG__
-#define NULL __null
-#else
-#define NULL 0L
-#endif
-#endif
-
#define _FSTDIO /* Define for new stdio with functions. */
typedef off_t fpos_t; /* stdio file position type */