From b6978b71d5fef9c467a63fd66c720dca3c710ff1 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 17 Jan 2001 02:02:11 +0000 Subject: [PATCH] * krcp.c (error): Always declare with ellipsis git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12906 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/ChangeLog | 4 ++++ src/appl/bsd/krcp.c | 7 +------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index a8fc5a1e8..d0bd3a66c 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,7 @@ +2001-01-16 Ken Raeburn + + * krcp.c (error): Always declare with ellipsis. + 2001-01-13 Sam Hartman * configure.in: Force SunOS to not use termios. diff --git a/src/appl/bsd/krcp.c b/src/appl/bsd/krcp.c index dc5cc79a3..2b0ab7835 100644 --- a/src/appl/bsd/krcp.c +++ b/src/appl/bsd/krcp.c @@ -126,16 +126,11 @@ struct buffer { #define NULLBUF (struct buffer *) 0 -#ifdef HAVE_STDARG_H -void error KRB5_STDARG_P((char *fmt, ...)) +void error (char *fmt, ...) #if !defined (__cplusplus) && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)) __attribute__ ((__format__ (__printf__, 1, 2))) #endif ; -#else -/*VARARGS*/ -void error KRB5_STDARG_P((char *, va_list)); -#endif #define ga() (void) rcmd_stream_write(rem, "", 1, 0) -- 2.26.2