OSDN Git Service

Synch extern declaration with definition provided in __uClibc_main.c
authorCarmelo Amoroso <carmelo.amoroso@st.com>
Tue, 20 May 2008 06:57:20 +0000 (06:57 -0000)
committerCarmelo Amoroso <carmelo.amoroso@st.com>
Tue, 20 May 2008 06:57:20 +0000 (06:57 -0000)
include/errno.h

index aef117e..b2315b9 100644 (file)
@@ -52,7 +52,7 @@ extern int errno;
 /* 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;
+extern const char *program_invocation_name, *program_invocation_short_name;
 #endif /* __USE_GNU */
 #endif /* _ERRNO_H */