From: John Kohl Date: Mon, 15 Oct 1990 16:52:32 +0000 (+0000) Subject: stdlib.h X-Git-Tag: krb5-1.0-alpha2~161 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=74f90073982637b3225cb891c2c9db0098991c19;p=krb5.git stdlib.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1250 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/fake-stdlib.h b/src/include/fake-stdlib.h index 1dff3d4d4..eb5e967a6 100644 --- a/src/include/fake-stdlib.h +++ b/src/include/fake-stdlib.h @@ -122,6 +122,7 @@ int setquota P((char *, char *)); int setregid P((int , int )); int setreuid P((int , int )); int shutdown P((int , int )); +void srandom P((int )); int swapon P((char *)); int sync P((void )); int umask P((int )); @@ -152,9 +153,9 @@ int endpwent P((void )); int endservent P((void )); int endttyent P((void )); int endusershell P((void )); -int execl P((char *, char *)); +int execl P((char *, char *, ...)); int execle P((char *, char *)); -int execlp P((char *, char *)); +int execlp P((char *, char *, ...)); int execv P((char *, char * [])); int execvp P((char *, char * [])); int exect P((char *, char * [], char * [])); @@ -172,15 +173,15 @@ struct fstab *getfsfile P((char *)); struct fstab *getfstype P((char *)); struct group *getgrent P((void )); struct group *getgrgid P((int )); -struct group *getgrnam P((char *)); +struct group *getgrnam P((const char *)); char *getlogin P((void )); int getopt P((int , char **, char *)); char *getpass P((char *)); int getpw P((int , char *)); struct passwd *getpwent P((void )); struct passwd *getpwuid P((int )); -struct passwd *getpwnam P((char *)); -struct ttyent *getttynam P((char *)); +struct passwd *getpwnam P((const char *)); +struct ttyent *getttynam P((const char *)); char *getusershell P((void )); char *getwd P((char *)); u_long htonl P((u_long )); @@ -208,7 +209,8 @@ u_long ntohl P((u_long )); u_short ntohs P((unsigned int )); void openlog P((const char *, int , int )); int pause P((void )); -int psignal P((unsigned , char *)); +int perror P((const char * )); +int psignal P((unsigned , const char *)); int qsort P((char *, int , int , int (* )())); int rand P((void )); long random P((void )); @@ -230,7 +232,7 @@ int setlogmask P((int )); int setnetent P((int )); int setprotoent P((int )); int setpwent P((void )); -int setpwfile P((char *)); +int setpwfile P((const char *)); int setrgid P((gid_t )); int setruid P((uid_t )); int setservent P((int )); @@ -393,7 +395,7 @@ char *timezone P((int , int )); char *ecvt P((double , int , int * , int * )); char *fcvt P((double , int , int * , int * )); char *gcvt P((double , int , char * )); -int execl P((char * , char * )); +int execl P((char * , char *, ...)); int execle P((char * , char * )); int execv P((char * , char **)); int exect P((char *, char **, char ** )); @@ -571,7 +573,7 @@ long time P((long * )); char *valloc P((unsigned )); int vlimit P((int , int )); #endif -int execlp P((char * , char * )); +int execlp P((char * , char *, ... )); int execvp P((char * , char * [])); int plock P((int )); char *shmat P((int , char * , int )); @@ -648,7 +650,7 @@ void setgrent P((void )); void endgrent P((void )); struct passwd *getpwent P((void )); struct passwd *getpwuid P((int )); -struct passwd *getpwnam P((char * )); +struct passwd *getpwnam P((const char * )); void setpwent P((void )); void endpwent P((void )); void qsort P((char * , unsigned , unsigned , int (* )()));