summaryrefslogtreecommitdiff
path: root/misc/syslog.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/syslog.c')
-rw-r--r--misc/syslog.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/misc/syslog.c b/misc/syslog.c
index 6922ad685c..644dbe80ec 100644
--- a/misc/syslog.c
+++ b/misc/syslog.c
@@ -72,7 +72,7 @@ extern char *__progname; /* Program name, from crt0. */
/* Define the lock. */
__libc_lock_define_initialized (static, syslog_lock)
-static void openlog_internal(const char *, int, int) internal_function;
+static void openlog_internal(const char *, int, int);
static void closelog_internal(void);
#ifndef NO_SIGPIPE
static void sigpipe_handler (int);
@@ -207,8 +207,8 @@ __vsyslog_chk(int pri, int flag, const char *fmt, va_list ap)
fprintf (f, "[%d]", (int) __getpid ());
if (LogTag != NULL)
{
- putc_unlocked (':', f);
- putc_unlocked (' ', f);
+ __putc_unlocked (':', f);
+ __putc_unlocked (' ', f);
}
/* Restore errno for %m format. */
@@ -330,7 +330,6 @@ static struct sockaddr_un SyslogAddr; /* AF_UNIX address of local logger */
static void
-internal_function
openlog_internal(const char *ident, int logstat, int logfac)
{
if (ident != NULL)