summaryrefslogtreecommitdiff
path: root/sysdeps/generic/bits/stdio_lim.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/bits/stdio_lim.h')
-rw-r--r--sysdeps/generic/bits/stdio_lim.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/sysdeps/generic/bits/stdio_lim.h b/sysdeps/generic/bits/stdio_lim.h
index ef873777c9..d9b8fbc749 100644
--- a/sysdeps/generic/bits/stdio_lim.h
+++ b/sysdeps/generic/bits/stdio_lim.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 1994, 1997 Free Software Foundation, Inc.
+/* Stdio limits for non-POSIX systems.
+ Copyright (C) 1994, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -16,22 +17,17 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-/* <bits/stdio_lim.h>: stdio limits for non-POSIX systems.
- * Never include this file directly; use <stdio.h> instead.
- */
-
-#ifndef _BITS_STDIO_LIM_H
-#define _BITS_STDIO_LIM_H
+#ifndef _STDIO_H
+# error "Never include <bits/stdio_lim.h> directly; use <stdio.h> instead."
+#endif
#define L_tmpnam 1
#define TMP_MAX 0
#ifdef __USE_POSIX
-#define L_ctermid 1
-#define L_cuserid 1
+# define L_ctermid 1
+# define L_cuserid 1
#endif
#define FOPEN_MAX 16
#define FILENAME_MAX 14
-
-#endif