From 8d94d27af04b3eddb0f1d62ddd7424a31312620b Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 24 Feb 2006 01:39:10 +0000 Subject: [PATCH] Moved an extern into its proper place. --- log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log.c b/log.c index 72a28370..77ce6d18 100644 --- a/log.c +++ b/log.c @@ -39,6 +39,7 @@ extern int local_server; extern int quiet; extern int module_id; extern int msg_fd_out; +extern int orig_umask; extern int allow_8bit_chars; extern int protocol_version; extern int preserve_times; @@ -143,7 +144,6 @@ static void syslog_init() static void logfile_open(void) { - extern int orig_umask; int old_umask = umask(022 | orig_umask); logfile = fopen(logfname, "a"); umask(old_umask); -- 2.34.1