Skip to content

Commit

Permalink
Fix the build.
Browse files Browse the repository at this point in the history
  • Loading branch information
kumpera committed Oct 24, 2012
1 parent 24f2d94 commit 32fbc3a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions support/syslog.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 32fbc3a

Please sign in to comment.