* cygwin.din: Add export for setlogmask().

* syslog.cc (setlogmask): New function.
This commit is contained in:
Christopher Faylor 2001-01-22 15:55:34 +00:00
parent 6e0801da6a
commit 29c39fe3dd
3 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Sun Jan 21 22:40:25 2001 Jason Tishler <jt@dothill.com>
* cygwin.din: Add export for setlogmask().
* syslog.cc (setlogmask): New function.
Thu Jan 18 10:27:00 2001 Corinna Vinschen <corinna@vinschen.de>
* resource.cc (setrlimit): Support RLIMIT_NOFILE.

View File

@ -972,6 +972,7 @@ closelog
_closelog = closelog
openlog
_openlog = openlog
setlogmask
vhangup
_vhangup = vhangup
nice

View File

@ -85,8 +85,6 @@ openlog (const char *ident, int logopt, int facility)
/* setlogmask: set the log priority mask and return previous mask.
If maskpri is zero, just return previous. */
#if 0
/* FIXME: nobody calls setlogmask? */
int
setlogmask (int maskpri)
{
@ -98,7 +96,6 @@ setlogmask (int maskpri)
return old_mask;
}
#endif
/* Private class used to handle formatting of syslog message */
/* It is named pass_handler because it does a two-pass handling of log