Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-01-22 18:55:34 +0300
committerChristopher Faylor <me@cgf.cx>2001-01-22 18:55:34 +0300
commit29c39fe3dd63d645cb7902a3d4b10847cd01617b (patch)
treec65d3417a78a86f1d2d1809f37617a4341b29f6c /winsup/cygwin/syslog.cc
parent6e0801da6ab1b4b567e77e3c9fb1799bc2f285dd (diff)
* cygwin.din: Add export for setlogmask().
* syslog.cc (setlogmask): New function.
Diffstat (limited to 'winsup/cygwin/syslog.cc')
-rw-r--r--winsup/cygwin/syslog.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/winsup/cygwin/syslog.cc b/winsup/cygwin/syslog.cc
index d0dda8b75..4e6c5b5a2 100644
--- a/winsup/cygwin/syslog.cc
+++ b/winsup/cygwin/syslog.cc
@@ -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