From 189ca7370762dca088a13d08ccb035e364758abb Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 22 Jan 2005 20:23:18 +0000 Subject: (svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile --- queue.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'queue.c') diff --git a/queue.c b/queue.c index 5cff8fc4f..60d85965d 100644 --- a/queue.c +++ b/queue.c @@ -212,7 +212,8 @@ void init_InsSort(Queue* q) { q->freeq = false; } -Queue* new_InsSort() { +Queue* new_InsSort(void) +{ Queue* q = malloc(sizeof(Queue)); init_InsSort(q); q->freeq = true; -- cgit v1.2.3-54-g00ecf