aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/lpr/lpd/recvjob.c
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-05-28 19:23:47 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-05-28 19:23:47 +0000
commit16d8455dcca2a0baeda299a571ee469b01955901 (patch)
tree7ee0aa518d99e25bc97eba167e9540f0806b4181 /usr.sbin/lpr/lpd/recvjob.c
parent3613e24cdcb1f71aaa441acf62ffeaf98e3b403c (diff)
downloadsrc-16d8455dcca2a0baeda299a571ee469b01955901.tar.gz
src-16d8455dcca2a0baeda299a571ee469b01955901.zip
Assume __STDC__, remove non-__STDC__ code.
Notes
Notes: svn path=/head/; revision=97421
Diffstat (limited to 'usr.sbin/lpr/lpd/recvjob.c')
-rw-r--r--usr.sbin/lpr/lpd/recvjob.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/usr.sbin/lpr/lpd/recvjob.c b/usr.sbin/lpr/lpd/recvjob.c
index d9f97bf51316..69a654d8b240 100644
--- a/usr.sbin/lpr/lpd/recvjob.c
+++ b/usr.sbin/lpr/lpd/recvjob.c
@@ -372,27 +372,13 @@ rcleanup(int signo __unused)
dfname[0] = '\0';
}
-#ifdef __STDC__
#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
static void
-#ifdef __STDC__
frecverr(const char *msg, ...)
-#else
-frecverr(msg, va_alist)
- char *msg;
- va_dcl
-#endif
{
va_list ap;
-#ifdef __STDC__
va_start(ap, msg);
-#else
- va_start(ap);
-#endif
syslog(LOG_ERR, "Error receiving job from %s:", from_host);
vsyslog(LOG_ERR, msg, ap);
va_end(ap);