summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/syslog/syslog.c5
1 files changed, 2 insertions, 3 deletions
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);
}