summary refs log tree commit diff stats
path: root/src/common/dcc.c
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2016-02-18 08:57:22 -0500
committerPatrick Griffis <tingping@tingping.se>2016-02-18 08:57:22 -0500
commitaab881fda26578edb5c17a705069e55e8c612f29 (patch)
treeb78d8a2646f0b9edb08060c095b21baed29de5d3 /src/common/dcc.c
parent05385f247917cae2d15f648e1983e0d82b9ae923 (diff)
Fix strict prototype warnings
Diffstat (limited to 'src/common/dcc.c')
-rw-r--r--src/common/dcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/dcc.c b/src/common/dcc.c
index a7ed0988..6c5b117e 100644
--- a/src/common/dcc.c
+++ b/src/common/dcc.c
@@ -83,7 +83,7 @@ static gboolean dcc_send_data (GIOChannel *, GIOCondition, struct DCC *);
 static gboolean dcc_read (GIOChannel *, GIOCondition, struct DCC *);
 static gboolean dcc_read_ack (GIOChannel *source, GIOCondition condition, struct DCC *dcc);
 
-static int new_id()
+static int new_id(void)
 {
 	static int id = 0;
 	if (id == 0)