From: darkcoven Date: Fri, 18 Oct 2013 20:12:07 +0000 (+0200) Subject: Fix remaining old prototypes X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6530d9b21fffc8f72b9600d605ee20479513984a;p=ngadmin Fix remaining old prototypes --- diff --git a/cli/src/com_help.c b/cli/src/com_help.c index 34fc2bc..7c5a8eb 100644 --- a/cli/src/com_help.c +++ b/cli/src/com_help.c @@ -2,7 +2,7 @@ #include "commands.h" -bool do_help (int argc, const char **argv UNUSED, struct ngadmin *nga UNUSED) +int do_help (int argc, const char **argv UNUSED, struct ngadmin *nga UNUSED) { const struct TreeNode *s; diff --git a/cli/src/com_list.c b/cli/src/com_list.c index 853f8f3..190a5b0 100644 --- a/cli/src/com_list.c +++ b/cli/src/com_list.c @@ -2,7 +2,7 @@ #include "commands.h" -bool do_list (int argc, const char **argv UNUSED, struct ngadmin *nga) +int do_list (int argc, const char **argv UNUSED, struct ngadmin *nga) { int n; const struct swi_attr *sa; diff --git a/cli/src/com_login.c b/cli/src/com_login.c index a6ee7e8..2b62605 100644 --- a/cli/src/com_login.c +++ b/cli/src/com_login.c @@ -2,7 +2,7 @@ #include "commands.h" -bool do_login (int argc, const char **argv, struct ngadmin *nga) +int do_login (int argc, const char **argv, struct ngadmin *nga) { int i;