summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/errno.h2
-rw-r--r--include/libc-internal.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/errno.h b/include/errno.h
index 203a62e3e..87b35b0bb 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -49,7 +49,7 @@ extern int errno;
# endif
#endif
-#if 0 /*def __USE_GNU uClibc note: not supported */
+#ifdef __UCLIBC_HAS_PROGRAM_INVOCATION_NAME__
/* The full and simple forms of the name with which the program was
invoked. These variables are set up automatically at startup based on
diff --git a/include/libc-internal.h b/include/libc-internal.h
index 9b83d1b3f..d669d93f2 100644
--- a/include/libc-internal.h
+++ b/include/libc-internal.h
@@ -238,6 +238,7 @@ extern char *__strcat (char *__restrict __dest, __const char *__restrict __src)
extern char *__strncpy (char *__restrict __dest,
__const char *__restrict __src, size_t __n) attribute_hidden;
extern char *__strchr (__const char *__s, int __c) attribute_hidden;
+extern char *__strrchr (__const char *__s, int __c) attribute_hidden;
extern int __strncmp (__const char *__s1, __const char *__s2, size_t __n) attribute_hidden;
extern char *__strdup (__const char *__s) attribute_hidden;
extern int __strcasecmp (__const char *__s1, __const char *__s2) attribute_hidden;