[uClibc-cvs] svn commit: trunk/uClibc/include

vapier at uclibc.org vapier at uclibc.org
Sat Jul 2 14:32:29 UTC 2005


Author: vapier
Date: 2005-07-02 08:32:28 -0600 (Sat, 02 Jul 2005)
New Revision: 10689

Log:
sync with glibc

Modified:
   trunk/uClibc/include/errno.h


Changeset:
Modified: trunk/uClibc/include/errno.h
===================================================================
--- trunk/uClibc/include/errno.h	2005-07-02 14:31:47 UTC (rev 10688)
+++ trunk/uClibc/include/errno.h	2005-07-02 14:32:28 UTC (rev 10689)
@@ -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 @@
 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




More information about the uClibc-cvs mailing list