Commit e5d7101f authored by Alessandro Rubini's avatar Alessandro Rubini Committed by Aurelio Colosimo

pptp/lib.h and posix-io.c: minor fix: missing const in prototype

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 6732723d
...@@ -22,7 +22,7 @@ void *pp_memcpy(void *d, const void *s, int count) ...@@ -22,7 +22,7 @@ void *pp_memcpy(void *d, const void *s, int count)
return memcpy(d, s, count); return memcpy(d, s, count);
} }
int pp_memcmp(void *s1, const void *s2, int count) int pp_memcmp(const void *s1, const void *s2, int count)
{ {
return memcmp(s1, s2, count); return memcmp(s1, s2, count);
} }
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
extern void pp_puts(const char *s); extern void pp_puts(const char *s);
extern int pp_strnlen(const char *s, int maxlen); extern int pp_strnlen(const char *s, int maxlen);
extern void *pp_memcpy(void *d, const void *s, int count); extern void *pp_memcpy(void *d, const void *s, int count);
extern int pp_memcmp(void *s1, const void *s2, int count); extern int pp_memcmp(const void *s1, const void *s2, int count);
extern void *pp_memset(void *s, int c, int count); extern void *pp_memset(void *s, int c, int count);
#endif /* __PTP_DEP_H__ */ #endif /* __PTP_DEP_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment