* Use real functions in dummy mode
* Rename header files to correspond to code filespull/7/head
parent
47a388c827
commit
e61ccc61ba
@ -0,0 +1,9 @@
|
||||
#include "journald_native.h"
|
||||
|
||||
#ifdef JOURNALD_NATIVE_COMPILE_DUMMY
|
||||
|
||||
int sd_journal_print(int priority, const char *format, ...) { return 0; }
|
||||
int sd_journal_sendv(const iovec_t *iov, int n) { return 0; }
|
||||
int sd_journal_perror(const char *message) { return 0; }
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue