comparison dbutil.h @ 1211:6ecc133fb2ee

Allow setting syslog identifier via startsyslog().
author Konstantin Tokarev <ktokarev@smartlabs.tv>
date Tue, 01 Dec 2015 21:54:03 +0300
parents be862d101766
children 9169e4e7cbee
comparison
equal deleted inserted replaced
1210:64a50eac1030 1211:6ecc133fb2ee
29 #include "includes.h" 29 #include "includes.h"
30 #include "buffer.h" 30 #include "buffer.h"
31 #include "queue.h" 31 #include "queue.h"
32 32
33 #ifndef DISABLE_SYSLOG 33 #ifndef DISABLE_SYSLOG
34 void startsyslog(); 34 void startsyslog(const char *ident);
35 #endif 35 #endif
36 36
37 #ifdef __GNUC__ 37 #ifdef __GNUC__
38 #define ATTRIB_PRINTF(fmt,args) __attribute__((format(printf, fmt, args))) 38 #define ATTRIB_PRINTF(fmt,args) __attribute__((format(printf, fmt, args)))
39 #define ATTRIB_NORETURN __attribute__((noreturn)) 39 #define ATTRIB_NORETURN __attribute__((noreturn))