From: Ezra Peisach Date: Mon, 22 Jan 1996 23:18:33 +0000 (+0000) Subject: Check for prototypes so that KRB5_STDARG_P works X-Git-Tag: krb5-1.0-beta6~588 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7d4c6ddd0f04aa17a819961efc0d14df1ae9d2a0;p=krb5.git Check for prototypes so that KRB5_STDARG_P works git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7360 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index ecd749b99..564e33de8 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,9 @@ +Mon Jan 22 18:14:05 1996 Ezra Peisach + + * krcp.c: Use KRB5_STDARG_P. + + * configure.in: Add KRB5_CHECK_PROTOS for prototyps definitions. + Fri Jan 19 10:45:29 1996 Sam Hartman * krshd.c (recvauth): Verify checksum against command line and remote user. diff --git a/src/appl/bsd/configure.in b/src/appl/bsd/configure.in index 7e5e2a910..56df16ac0 100644 --- a/src/appl/bsd/configure.in +++ b/src/appl/bsd/configure.in @@ -36,7 +36,6 @@ AC_TYPE_MODE_T AC_FUNC_CHECK(strsave,AC_DEFINE(HAS_STRSAVE)) AC_FUNC_CHECK(utimes,AC_DEFINE(HAS_UTIMES)) AC_FUNC_CHECK(getutent,AC_DEFINE(HAVE_GETUTENT)) -AC_FUNC_CHECK(setreuid,AC_DEFINE(HAVE_SETREUID)) AC_FUNC_CHECK(gettosbyname,AC_DEFINE(HAVE_GETTOSBYNAME)) AC_FUNC_CHECK(killpg,AC_DEFINE(HAVE_KILLPG)) AC_FUNC_CHECK(initgroups,AC_DEFINE(HAVE_INITGROUPS)) @@ -157,6 +156,7 @@ if test $krb5_cv_shadow_pwd = yes; then AC_DEFINE(HAVE_SHADOW) fi dnl +KRB5_CHECK_PROTOS dnl ADD_DEF(-DKERBEROS) AC_CONST diff --git a/src/appl/bsd/krcp.c b/src/appl/bsd/krcp.c index e47c0fd94..c97897d58 100644 --- a/src/appl/bsd/krcp.c +++ b/src/appl/bsd/krcp.c @@ -132,10 +132,10 @@ struct buffer { #define NULLBUF (struct buffer *) 0 #ifdef HAVE_STDARG_H -int error KRB5_PROTOTYPE((char *fmt, ...)); +int error KRB5_STDARG_P((char *fmt, ...)); #else /*VARARGS*/ -int error KRB5_PROTOTYPE((char *, va_list)); +int error KRB5_STDARG_P((char *, va_list)); #endif #define ga() (void) des_write(rem, "", 1) @@ -1127,6 +1127,7 @@ struct buffer *allocbuf(bp, fd, blksize) +int #ifdef HAVE_STDARG_H error(char *fmt, ...) #else