summaryrefslogtreecommitdiffstats
path: root/src/include/fake-stdlib.h
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-11-27 14:04:42 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-11-27 14:04:42 +0000
commit574c56aa5872321a7b21b44487a60d3d088c0eb4 (patch)
tree803b0a125d8eb407aa306f97fc6549acf22583f6 /src/include/fake-stdlib.h
parent901e5cfe20af81f1677287712614481f96ae486e (diff)
downloadkrb5-574c56aa5872321a7b21b44487a60d3d088c0eb4.tar.gz
krb5-574c56aa5872321a7b21b44487a60d3d088c0eb4.tar.xz
krb5-574c56aa5872321a7b21b44487a60d3d088c0eb4.zip
add const to getpwnam() and memcpy()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1499 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/fake-stdlib.h')
-rw-r--r--src/include/fake-stdlib.h6
1 files changed, 3 insertions, 3 deletions
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 ** ));