aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-03-31 14:36:30 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-03-31 14:36:30 +0200
commitca0aec9395dc18a715f7c60329538b19eb940b04 (patch)
tree298f3c5e835e364b14062dde71ab8417b822f84b
parentcc7950760034810e08db7a75c3b382058833e35d (diff)
Adding missing parameter lists to function declarations
-rw-r--r--FICS/lists.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/FICS/lists.h b/FICS/lists.h
index bbfeba6..f26fcb9 100644
--- a/FICS/lists.h
+++ b/FICS/lists.h
@@ -8,6 +8,8 @@
#ifndef _LISTS_H
#define _LISTS_H
+#include "command.h" /* param_list */
+
enum ListWhich {
L_ADMIN = 0,
L_REMOVEDCOM,
@@ -57,9 +59,9 @@ struct _List {
struct _List *next;
};
-extern int com_addlist();
-extern int com_showlist();
-extern int com_sublist();
+extern int com_addlist(int, param_list);
+extern int com_showlist(int, param_list);
+extern int com_sublist(int, param_list);
extern int in_list(int, enum ListWhich, char *);
extern int list_add(int, enum ListWhich, char *);