Created
November 24, 2011 21:06
-
-
Save ThomasLocke/1392293 to your computer and use it in GitHub Desktop.
C wrapper used by GNATCOLL.Traces.Syslog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Wrapper for syslog (needed by gnatcoll-traces-syslog.adb) */ | |
#include <syslog.h> | |
void | |
syslog_wrapper(int priority, const char *log_message) | |
{ | |
syslog(priority, "%s", log_message); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment