From ba902ad54b651134a1261c9f4be227a462c54f3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20H=C3=A5llberg?= Date: Mon, 29 Dec 2008 14:35:30 -0500 Subject: renamed _cmd_init() to initialize_cmd() and added a function prototype for it diff --git a/cmd.c b/cmd.c index 6c3ef73..15a63d6 100644 --- a/cmd.c +++ b/cmd.c @@ -222,7 +222,7 @@ void cmd_add_command( cmdstruct *cmd ) { } /* Init the command listing, called from main */ -void _cmd_init() { +void initialize_cmd(void) { int i; /* Now add the default command list */ diff --git a/cmd.h b/cmd.h index c19f45f..f8186a5 100644 --- a/cmd.h +++ b/cmd.h @@ -17,5 +17,7 @@ void show_stat __P ((void)); void cmd_add_command( cmdstruct *cmd ); +void initialize_cmd(void); + #endif /* _CMD_H_ */ diff --git a/main.c b/main.c index 4e392e9..4904033 100644 --- a/main.c +++ b/main.c @@ -263,7 +263,7 @@ int main __P2 (int,argc, char **,argv) init_random((int)now.tv_sec); #endif - _cmd_init(); + initialize_cmd(); if ((p = getenv("POWWOWDIR"))) { strcpy(powwow_dir, p); -- cgit v0.10.2