From b6330afd1014e0d8382c78dc1d7b2aa0bac37c90 Mon Sep 17 00:00:00 2001 From: jsg Date: Tue, 12 May 2015 03:23:15 +0000 Subject: [PATCH] Move the logit() prototype so parse.y will see it. ok yasuoka@ --- usr.sbin/npppd/npppd/log.c | 4 +--- usr.sbin/npppd/npppd/log.h | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/usr.sbin/npppd/npppd/log.c b/usr.sbin/npppd/npppd/log.c index deb85fd9362..10c5db982c0 100644 --- a/usr.sbin/npppd/npppd/log.c +++ b/usr.sbin/npppd/npppd/log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: log.c,v 1.2 2012/11/13 17:10:40 yasuoka Exp $ */ +/* $OpenBSD: log.c,v 1.3 2015/05/12 03:23:15 jsg Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -35,8 +35,6 @@ int debug; extern int debugsyslog; -void logit(int, const char *, ...); - void log_init(int n_debug) { diff --git a/usr.sbin/npppd/npppd/log.h b/usr.sbin/npppd/npppd/log.h index ce37b7ecaf2..70a20a2bf2e 100644 --- a/usr.sbin/npppd/npppd/log.h +++ b/usr.sbin/npppd/npppd/log.h @@ -1,4 +1,4 @@ -/* $OpenBSD: log.h,v 1.1 2012/11/13 17:10:40 yasuoka Exp $ */ +/* $OpenBSD: log.h,v 1.2 2015/05/12 03:23:15 jsg Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -29,5 +29,6 @@ void log_info (const char *, ...); void log_debug (const char *, ...); void fatal (const char *); void fatalx (const char *); +void logit(int, const char *, ...); #endif /* _LOG_H_ */ -- 2.20.1