From c4c3071e279d769beb66f0d6fd0c073a4cbacb1c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 15 Jan 2001 13:19:54 +0000 Subject: Make the implementation match the header file. --- libc/misc/syslog/syslog.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libc/misc/syslog') diff --git a/libc/misc/syslog/syslog.c b/libc/misc/syslog/syslog.c index 957712f61..63e6f7994 100644 --- a/libc/misc/syslog/syslog.c +++ b/libc/misc/syslog/syslog.c @@ -130,7 +130,7 @@ void syslog( int, const char *, ...); void vsyslog( int, const char *, va_list ); void openlog( const char *, int, int ); void closelog( void ); -int setlogmask( int ); +void setlogmask( int ); static void closelog_intern(int to_default) @@ -335,7 +335,7 @@ closelog( void ) /* * SETLOGMASK -- set the log mask level */ -int +void setlogmask( int pmask ) { int omask; @@ -345,5 +345,4 @@ setlogmask( int pmask ) if (pmask != 0) LogMask = pmask; UNLOCK(); - return (omask); } -- cgit v1.2.3