summaryrefslogtreecommitdiffstats
path: root/src/rpc.c
diff options
context:
space:
mode:
authorSimon Rettberg2019-05-14 14:14:48 +0200
committerSimon Rettberg2019-05-14 14:14:48 +0200
commit6cbc590a92a52a905b149608f63f459f0d785c1d (patch)
tree33305f0ecb19b90d1741e189339df3f20ab49f9d /src/rpc.c
parentEnforce minimum delay for RPC actions if user is active (diff)
downloadidle-daemon-6cbc590a92a52a905b149608f63f459f0d785c1d.tar.gz
idle-daemon-6cbc590a92a52a905b149608f63f459f0d785c1d.tar.xz
idle-daemon-6cbc590a92a52a905b149608f63f459f0d785c1d.zip
f() -> f(void)
Diffstat (limited to 'src/rpc.c')
-rw-r--r--src/rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc.c b/src/rpc.c
index bfcc2c3..a563f36 100644
--- a/src/rpc.c
+++ b/src/rpc.c
@@ -32,7 +32,7 @@ _Static_assert( sizeof(rpcPipe) == ( sizeof(int) * 2 ), "Structsize mismatch" );
static void handleClient( int fd, struct ucred *user );
-int rpcOpen()
+int rpcOpen( void )
{
int fd = socket( AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0 );
if ( fd == -1 ) {