From: John Kohl Date: Thu, 20 Dec 1990 15:50:32 +0000 (+0000) Subject: fix up some MIPS prototype clashes X-Git-Tag: krb5-1.0-alpha3~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fa763236a5ca2db7d014622d65aa18ed21e18b4b;p=krb5.git fix up some MIPS prototype clashes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1591 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/fake-stdlib.h b/src/include/fake-stdlib.h index 9c05668b1..20393c06d 100644 --- a/src/include/fake-stdlib.h +++ b/src/include/fake-stdlib.h @@ -411,7 +411,7 @@ int setfsent P((void )); #ifndef SYSTEM_FIVE struct group *getgrent P((void )); struct group *getgrgid P((int )); -struct group *getgrnam P((char * )); +struct group *getgrnam P((const char * )); int endgrent P((void )); int setgrent P((void )); #endif @@ -447,9 +447,7 @@ struct servent *getservbyport P((int , char * )); void setservent P((int )); void endservent P((void )); struct ttyent *getttyent P((void )); -struct ttyent *getttynam P((char * )); -void setttyent P((void )); -void endttyent P((void )); +struct ttyent *getttynam P((const char * )); unsigned long inet_network P((const char * )); int initgroups P((char * , int )); char *malloc P((unsigned )); @@ -522,7 +520,7 @@ int getpriority P((int , int )); int setpriority P((int , int , int )); int getsockname P((int , char * , int * )); int getsockopt P((int , int , int , char * , int * )); -int setsockopt P((int , int , int , char * , int )); +int setsockopt P((int , int , int , const char * , int )); int killpg P((int , int )); int listen P((int , int )); int quota P((int , int , int , caddr_t )); @@ -574,7 +572,6 @@ int execvp P((char * , char * [])); int plock P((int )); char *shmat P((int , char * , int )); int shmdt P((char * )); -int stime P((long * )); void sys3b P((int , int , int )); long ulimit P((int , long )); long a64l P((char * ));