summaryrefslogtreecommitdiff
path: root/errno.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-06-04 20:14:46 +0000
committerRoland McGrath <roland@gnu.org>1996-06-04 20:14:46 +0000
commit14d898aef6373abaf64a7b17f32e8ce3f655cdf3 (patch)
treefe797356169d8a79e934896473a7b3e61b4dd9a2 /errno.h
parenta2b934be254cad6c725baf738f0d97df985522c6 (diff)
* elf/Makefile (subdir_lib): Change this target to lib-noranlib.
(lib-noranlib): Depend on on $(extra-objs). * errno.h: Move __END_DECLS out of #ifdef's so it matches __BEGIN_DECLS.
Diffstat (limited to 'errno.h')
-rw-r--r--errno.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/errno.h b/errno.h
index f1fbd5e082..a9c9acdff2 100644
--- a/errno.h
+++ b/errno.h
@@ -37,6 +37,7 @@ __BEGIN_DECLS
#undef __need_Emath
#ifdef _ERRNO_H
+
/* Declare the `errno' variable, unless it's defined as a macro by
errnos.h. This is the case in GNU, where it is a per-thread variable.
This redeclaration using the macro still works, but it will be a
@@ -59,9 +60,10 @@ typedef int error_t;
invoked. These variables are set up automatically at startup based on
the value of ARGV[0] (this works only if you use GNU ld). */
extern char *program_invocation_name, *program_invocation_short_name;
-#endif
+#endif /* Use GNU. */
+
+#endif /* errno.h included */
__END_DECLS
-#endif
-#endif /* errno.h */
+#endif /* errno.h */