static void agentx_events_update(void);
-static int agentx_timeout(struct thread *t)
+static void agentx_timeout(struct thread *t)
{
timeout_thr = NULL;
run_alarms();
netsnmp_check_outstanding_agent_requests();
agentx_events_update();
- return 0;
}
-static int agentx_read(struct thread *t)
+static void agentx_read(struct thread *t)
{
fd_set fds;
int flags, new_flags = 0;
if (-1 == flags) {
flog_err(EC_LIB_SYSTEM_CALL, "Failed to get FD settings fcntl: %s(%d)",
strerror(errno), errno);
- return -1;
+ return;
}
if (flags & O_NONBLOCK)
netsnmp_check_outstanding_agent_requests();
agentx_events_update();
- return 0;
}
static void agentx_events_update(void)