mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
The first argument for a libevent callback should be evutil_socket_t
This commit is contained in:
parent
93b699e1ea
commit
1e69c60dcc
@ -34,7 +34,7 @@ typedef int pid_t;
|
|||||||
/* Currently we need to poll in some way on all systems. */
|
/* Currently we need to poll in some way on all systems. */
|
||||||
|
|
||||||
#ifdef PROCMON_POLLS
|
#ifdef PROCMON_POLLS
|
||||||
static void tor_process_monitor_poll_cb(int unused1, short unused2,
|
static void tor_process_monitor_poll_cb(evutil_socket_t unused1, short unused2,
|
||||||
void *procmon_);
|
void *procmon_);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -232,7 +232,8 @@ tor_process_monitor_new(struct event_base *base,
|
|||||||
/** Libevent callback to poll for the existence of the process
|
/** Libevent callback to poll for the existence of the process
|
||||||
* monitored by <b>procmon_</b>. */
|
* monitored by <b>procmon_</b>. */
|
||||||
static void
|
static void
|
||||||
tor_process_monitor_poll_cb(int unused1, short unused2, void *procmon_)
|
tor_process_monitor_poll_cb(evutil_socket_t unused1, short unused2,
|
||||||
|
void *procmon_)
|
||||||
{
|
{
|
||||||
tor_process_monitor_t *procmon = (tor_process_monitor_t *)(procmon_);
|
tor_process_monitor_t *procmon = (tor_process_monitor_t *)(procmon_);
|
||||||
int its_dead_jim;
|
int its_dead_jim;
|
||||||
|
Loading…
Reference in New Issue
Block a user