From 61a9173f8cd3176bde31ccf7b1d23577aebbec14 Mon Sep 17 00:00:00 2001 From: Karl Ramm Date: Sun, 22 Mar 2009 16:32:37 +0000 Subject: functions should have explicit return types (and new-style args) --- clients/zctl/zctl.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'clients') diff --git a/clients/zctl/zctl.c b/clients/zctl/zctl.c index 9624550..9937e0f 100644 --- a/clients/zctl/zctl.c +++ b/clients/zctl/zctl.c @@ -1050,9 +1050,8 @@ fix_macros2(char *src, char **dest) *dest = ZGetSender(); } -do_punt(argc, argv) -int argc; -char **argv; +int +do_punt(int argc, char **argv) { #ifdef CMU_ZCTL_PUNT char *class, *inst, *recip, *msg, *whoami = argv[0]; @@ -1143,9 +1142,8 @@ char **argv; return 0; } -list_punts(argc, argv) -int argc; -char **argv; +int +list_punts(int argc, char **argv) { #ifdef CMU_ZCTL_PUNT ZNotice_t notice; -- cgit v1.2.3