aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmd.c2
-rw-r--r--cmd.h2
-rw-r--r--main.c2
3 files changed, 4 insertions, 2 deletions
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);