extern "C" just in case

pull/2/merge v1.0.3
Anton Smirnov 2015-02-05 17:43:26 +03:00
parent 834a5fad00
commit d61e86c717
1 changed files with 11 additions and 3 deletions

View File

@ -54,9 +54,17 @@
size_t iov_len; /* Number of bytes to transfer */
};
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
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
#endif