=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rsh/Attic/rsh.c,v retrieving revision 1.14 retrieving revision 1.15 diff -c -r1.14 -r1.15 *** src/usr.bin/rsh/Attic/rsh.c 1997/06/29 11:10:34 1.14 --- src/usr.bin/rsh/Attic/rsh.c 1997/07/25 21:05:39 1.15 *************** *** 1,4 **** ! /* $OpenBSD: rsh.c,v 1.14 1997/06/29 11:10:34 provos Exp $ */ /*- * Copyright (c) 1983, 1990 The Regents of the University of California. --- 1,4 ---- ! /* $OpenBSD: rsh.c,v 1.15 1997/07/25 21:05:39 mickey Exp $ */ /*- * Copyright (c) 1983, 1990 The Regents of the University of California. *************** *** 41,47 **** #ifndef lint /*static char sccsid[] = "from: @(#)rsh.c 5.24 (Berkeley) 7/1/91";*/ ! static char rcsid[] = "$OpenBSD: rsh.c,v 1.14 1997/06/29 11:10:34 provos Exp $"; #endif /* not lint */ #include --- 41,47 ---- #ifndef lint /*static char sccsid[] = "from: @(#)rsh.c 5.24 (Berkeley) 7/1/91";*/ ! static char rcsid[] = "$OpenBSD: rsh.c,v 1.15 1997/07/25 21:05:39 mickey Exp $"; #endif /* not lint */ #include *************** *** 57,63 **** #include #include #include ! #if __STDC__ #include #else #include --- 57,63 ---- #include #include #include ! #ifdef __STDC__ #include #else #include *************** *** 417,423 **** #ifdef KERBEROS /* VARARGS */ void ! #if __STDC__ warning(const char *fmt, ...) #else warning(va_alist) --- 417,423 ---- #ifdef KERBEROS /* VARARGS */ void ! #ifdef __STDC__ warning(const char *fmt, ...) #else warning(va_alist) *************** *** 425,431 **** #endif { va_list ap; ! #if !__STDC__ char *fmt; #endif char myrealm[REALM_SZ]; --- 425,431 ---- #endif { va_list ap; ! #ifndef __STDC__ char *fmt; #endif char myrealm[REALM_SZ]; *************** *** 433,439 **** if (krb_get_lrealm(myrealm, 0) != KSUCCESS) return; (void)fprintf(stderr, "rsh: warning, using standard rsh: "); ! #if __STDC__ va_start(ap, fmt); #else va_start(ap); --- 433,439 ---- if (krb_get_lrealm(myrealm, 0) != KSUCCESS) return; (void)fprintf(stderr, "rsh: warning, using standard rsh: "); ! #ifdef __STDC__ va_start(ap, fmt); #else va_start(ap);