From 6530d9b21fffc8f72b9600d605ee20479513984a Mon Sep 17 00:00:00 2001 From: darkcoven Date: Fri, 18 Oct 2013 22:12:07 +0200 Subject: [PATCH] Fix remaining old prototypes --- cli/src/com_help.c | 2 +- cli/src/com_list.c | 2 +- cli/src/com_login.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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; -- 2.39.5