mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-17 21:00:42 +01:00
imzmq3: fix gcc-7 build warnings
This commit is contained in:
parent
0704ef2439
commit
9d572f1172
@ -69,13 +69,13 @@ DEFobjCurrIf(ruleset)
|
||||
* structs to describe sockets
|
||||
*/
|
||||
typedef struct _socket_type {
|
||||
char* name;
|
||||
const char* name;
|
||||
int type;
|
||||
} socket_type;
|
||||
|
||||
/* more overkill, but seems nice to be consistent.*/
|
||||
typedef struct _socket_action {
|
||||
char* name;
|
||||
const char* name;
|
||||
int action;
|
||||
} socket_action;
|
||||
|
||||
@ -339,7 +339,7 @@ static rsRetVal validateConfig(instanceConf_t* info) {
|
||||
return RS_RET_OK;
|
||||
}
|
||||
|
||||
static rsRetVal createContext() {
|
||||
static rsRetVal createContext(void) {
|
||||
if (s_context == NULL) {
|
||||
DBGPRINTF("imzmq3: creating zctx...");
|
||||
zsys_handler_set(NULL);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user