diff options
Diffstat (limited to 'libports')
-rw-r--r-- | libports/manage-multithread.c | 2 | ||||
-rw-r--r-- | libports/ports.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libports/manage-multithread.c b/libports/manage-multithread.c index d42cf97a..d138092b 100644 --- a/libports/manage-multithread.c +++ b/libports/manage-multithread.c @@ -104,7 +104,7 @@ ports_manage_port_operations_multithread (struct port_bucket *bucket, ports_demuxer_type demuxer, int thread_timeout, int global_timeout, - void (*hook)()) + void (*hook)(void)) { /* totalthreads is the number of total threads created. nreqthreads is the number of threads not currently servicing any client. The diff --git a/libports/ports.h b/libports/ports.h index 2d6f6a60..c0f0a22a 100644 --- a/libports/ports.h +++ b/libports/ports.h @@ -436,7 +436,7 @@ void ports_interrupt_rpcs (void *port); /* If the current thread's rpc has been interrupted with ports_interrupt_rpcs, return true (and clear the interrupted flag). */ -int ports_self_interrupted (); +int ports_self_interrupted (void); /* Add RPC to the list of rpcs that have been interrupted. */ void _ports_record_interruption (struct rpc_info *rpc); |