aboutsummaryrefslogtreecommitdiffstats
path: root/missing.h
diff options
context:
space:
mode:
Diffstat (limited to 'missing.h')
-rw-r--r--missing.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/missing.h b/missing.h
index f402b1f655..3703c00309 100644
--- a/missing.h
+++ b/missing.h
@@ -99,8 +99,8 @@ extern int strncasecmp(char *, char *, int);
#endif
#ifndef HAVE_STRCHR
-extern char *strchr(char *, int);
-extern char *strrchr(char *, int);
+extern char *strchr(const char *, int);
+extern char *strrchr(const char *, int);
#endif
#ifndef HAVE_STRERROR
@@ -112,7 +112,7 @@ extern size_t strftime(char *, size_t, const char *, const struct tm *);
#endif
#ifndef HAVE_STRSTR
-extern char *strstr(char *, char *);
+extern char *strstr(const char *, const char *);
#endif
/*