summaryrefslogtreecommitdiff
path: root/libc/misc/syslog
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-15 13:19:54 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-15 13:19:54 +0000
commitc4c3071e279d769beb66f0d6fd0c073a4cbacb1c (patch)
tree0ee6de15209872364e20e42e658e15141ef78638 /libc/misc/syslog
parent51d2e12a88732c8d63311564fd4df090ac3d3608 (diff)
Make the implementation match the header file.
Diffstat (limited to 'libc/misc/syslog')
-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);
}