diff options
author | Rodrigo Kumpera <kumpera@gmail.com> | 2012-10-24 21:39:42 +0400 |
---|---|---|
committer | Rodrigo Kumpera <kumpera@gmail.com> | 2012-10-24 21:39:42 +0400 |
commit | 32fbc3ab7e3c36653c29c16f0ba08bd6682ab60b (patch) | |
tree | 64ee9b9723ccf7895a7536952f1b71d23fb9c5ee | |
parent | 24f2d943b3ec33d1fff88b681d42e9954223f829 (diff) |
Fix the build.
-rw-r--r-- | support/syslog.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/support/syslog.c b/support/syslog.c index abaf8efad2d..6fed2ad2059 100644 --- a/support/syslog.c +++ b/support/syslog.c @@ -31,21 +31,20 @@ Mono_Posix_Syscall_closelog (void) return 0; } -int -Mono_Posix_Syscall_syslog (int priority, const char* message) -{ #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wformat-security" #endif - +int +Mono_Posix_Syscall_syslog (int priority, const char* message) +{ syslog (priority, message); + return 0; +} #ifdef __GNUC__ #pragma GCC diagnostic pop #endif - return 0; -} /* vararg version of syslog(3). */ gint32 |