summaryrefslogtreecommitdiff
path: root/queue.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-22 20:23:18 +0000
committertron <tron@openttd.org>2005-01-22 20:23:18 +0000
commit189ca7370762dca088a13d08ccb035e364758abb (patch)
treef77535f8809840126757131b192e611f6d912bdf /queue.c
parent7984a9a5007f4bdf1107cdf646c42e3e137f65cf (diff)
downloadopenttd-189ca7370762dca088a13d08ccb035e364758abb.tar.xz
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
Diffstat (limited to 'queue.c')
-rw-r--r--queue.c3
1 files changed, 2 insertions, 1 deletions
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;