extern "C" just in case - around all

pull/2/merge
Anton Smirnov 8 years ago
parent d61e86c717
commit 9cf5337dde

@ -1,3 +1,7 @@
#ifdef __cplusplus
extern "C" {
#endif
#ifndef JOURNALD_NATIVE_SD_JOURNAL_H
#define JOURNALD_NATIVE_SD_JOURNAL_H
@ -54,18 +58,14 @@
size_t iov_len; /* Number of bytes to transfer */
};
#ifdef __cplusplus
extern "C" {
#endif
int sd_journal_print(int priority, const char *format, ...);
int sd_journal_sendv(const struct iovec *iov, int n);
int sd_journal_perror(const char *message);
#ifdef __cplusplus
}
#endif
int sd_journal_print(int priority, const char *format, ...);
int sd_journal_sendv(const struct iovec *iov, int n);
int sd_journal_perror(const char *message);
#endif
#endif
#ifdef __cplusplus
}
#endif

Loading…
Cancel
Save