From 1c962f23e09a50701be3090a72d0c0693e77d2ca Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 9 Jan 2007 23:44:57 +0000 Subject: [PATCH] Yet another small size reduction by Bernhard Fischer --- sysklogd/syslogd.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index 8b59962be..aa7d516d6 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c @@ -262,8 +262,6 @@ static void log_to_shmem(const char *msg, int len) void ipcsyslog_cleanup(void); void ipcsyslog_init(void); void log_to_shmem(const char *msg); - - #endif /* FEATURE_IPC_SYSLOG */ @@ -271,7 +269,6 @@ void log_to_shmem(const char *msg); static void log_locally(char *msg) { static time_t last; - struct flock fl; int len = strlen(msg); @@ -447,8 +444,8 @@ static void split_escape_and_log(char *tmpbuf, int len) static void quit_signal(int sig) { - timestamp_and_log(LOG_SYSLOG | LOG_INFO, "System log daemon exiting", 0); - puts("System log daemon exiting"); + timestamp_and_log(LOG_SYSLOG | LOG_INFO, "syslogd exiting", 0); + puts("syslogd exiting"); unlink(dev_log_name); if (ENABLE_FEATURE_IPC_SYSLOG) ipcsyslog_cleanup(); -- 2.25.1