From: John Kohl Date: Tue, 13 Feb 1990 17:02:18 +0000 (+0000) Subject: remove sprintf, getmnt X-Git-Tag: krb5-1.0-alpha2~1022 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c75871acfb08a8e346e623227ebe77a290747392;p=krb5.git remove sprintf, getmnt fix #ifdefs for broken gcc git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@362 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/fake-stdlib.h b/src/include/fake-stdlib.h index 888b39d17..e0f15f568 100644 --- a/src/include/fake-stdlib.h +++ b/src/include/fake-stdlib.h @@ -321,7 +321,7 @@ int puts P((char *)); #endif /* VAX */ -#if (defined(mips) && defined(ultrix)) || (defined(__mips__) && defined(__ultrix__)) +#if (defined(mips) && defined(ultrix)) || (defined(__mips__) && defined(__ultrix__)) || defined(__mips__) || defined(mips) /* massaged from /usr/lib/lint/llib-lc, via watchbin/mkproto */ /* above functions removed, plus: @@ -339,6 +339,8 @@ int puts P((char *)); is* hsearch ftok + getmnt + sprintf */ /* /usr/lib/lint/llib-lc */ @@ -376,7 +378,6 @@ int setdomainname P((char * , int )); int getgid P((void )); int getegid P((void )); #endif -int getmnt P((int * , struct fs_data * , int , int , char * )); #ifndef SYSTEM_FIVE int getpgrp P((int )); #endif @@ -530,9 +531,6 @@ long fpathconf P((int , int )); int pause P((void )); void perror P((char * )); int printf P((char *, ...)); -#ifndef SYSTEM_FIVE -char *sprintf P((char * , const char *, ... )); -#endif int puts P((char * )); #ifndef SYSTEM_FIVE int qsort P((char * , int , int , int (* )())); @@ -721,7 +719,6 @@ struct passwd *getpwuid P((int )); struct passwd *getpwnam P((char * )); void setpwent P((void )); void endpwent P((void )); -int sprintf P((char * , char *, ... )); void qsort P((char * , unsigned , unsigned , int (* )())); #endif