summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-02 14:32:28 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-02 14:32:28 +0000
commitddd847f2cd92cebeaccfac73990dd3739b5140be (patch)
treea94c7ed5570b55db1f1d7c035f444b51a4f04c58 /include
parent78ca36fd7ef427877ff13339def3af1e219f2e60 (diff)
sync with glibc
Diffstat (limited to 'include')
-rw-r--r--include/errno.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/include/errno.h b/include/errno.h
index 8c7f666fe..191f1ff5c 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,93,94,95,96,97,2002 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
@@ -25,8 +25,8 @@
/* The includer defined __need_Emath if he wants only the definitions
of EDOM and ERANGE, and not everything else. */
#ifndef __need_Emath
-#define _ERRNO_H 1
-#include <features.h>
+# define _ERRNO_H 1
+# include <features.h>
#endif
__BEGIN_DECLS
@@ -47,6 +47,14 @@ __BEGIN_DECLS
extern int errno;
#endif
+#if 0 //def __USE_GNU
+/* uClibc note: not supported */
+
+/* The full and simple forms of the name with which the program was
+ 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 /* __USE_GNU */
#endif /* _ERRNO_H */
__END_DECLS