From b5b41212a686849fe061b8c4bb80d38f893d00c7 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 26 Apr 2011 12:28:41 -0400 Subject: function signature fix: add const qualifier to mempcpy src arg --- include/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/string.h b/include/string.h index 94188bc0..f95a15c9 100644 --- a/include/string.h +++ b/include/string.h @@ -75,7 +75,7 @@ char *strchrnul(const char *, int); char *strcasestr(const char *, const char *); char *strsep(char **, const char *); void *memrchr(const void *, int, size_t); -void *mempcpy(void *, void *, size_t); +void *mempcpy(void *, const void *, size_t); #endif #ifdef __cplusplus -- cgit v1.2.3-70-g09d2