From: John Kohl Date: Tue, 27 Nov 1990 14:04:42 +0000 (+0000) Subject: add const to getpwnam() and memcpy() X-Git-Tag: krb5-1.0-alpha3~94 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=574c56aa5872321a7b21b44487a60d3d088c0eb4;p=krb5.git add const to getpwnam() and memcpy() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1499 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/fake-stdlib.h b/src/include/fake-stdlib.h index 70aa32f9d..97e27ae8e 100644 --- a/src/include/fake-stdlib.h +++ b/src/include/fake-stdlib.h @@ -197,7 +197,7 @@ char *malloc P((unsigned )); char *memccpy P((char *, char *, int , int )); char *memchr P((char *, int , int )); int memcmp P((char *, char *, int )); -char *memcpy P((char *, char *, int )); +char *memcpy P((char *, const char *, int )); char *memset P((char *, int , int )); char *mktemp P((char *)); int mkstemp P((char *)); @@ -439,7 +439,7 @@ int getpw P((int , char * )); #ifndef SYSTEM_FIVE struct passwd *getpwent P((void )); struct passwd *getpwuid P((int )); -struct passwd *getpwnam P((char * )); +struct passwd *getpwnam P((const char * )); int endpwent P((void )); int setpwent P((void )); #endif @@ -608,7 +608,7 @@ char *lfind P((char * , char * , unsigned * , unsigned , int (* )(char *, char char *memccpy P((char * , char * , int , int )); char *memchr P((char * , int , int )); int memcmp P((char * , char * , int )); -char *memcpy P((char * , char * , int )); +char *memcpy P((char * , const char * , int )); char *memset P((char * , int , int )); int gsignal P((int )); double strtod P((char * , char ** ));