diff options
author | Gustav HÃ¥llberg <gustav@gmail.com> | 2008-12-29 19:35:30 (GMT) |
---|---|---|
committer | Gustav HÃ¥llberg <gustav@gmail.com> | 2009-01-16 23:34:19 (GMT) |
commit | ba902ad54b651134a1261c9f4be227a462c54f3b (patch) | |
tree | 4f66e873d47822a3a0cffc4c4f82ab0eb0b461a9 | |
parent | 903c1298720b7379b7e77b9b2411ba2ab8aa79fa (diff) | |
download | powwow-ba902ad54b651134a1261c9f4be227a462c54f3b.zip powwow-ba902ad54b651134a1261c9f4be227a462c54f3b.tar.gz powwow-ba902ad54b651134a1261c9f4be227a462c54f3b.tar.bz2 |
renamed _cmd_init() to initialize_cmd() and added a function prototype for it
-rw-r--r-- | cmd.c | 2 | ||||
-rw-r--r-- | cmd.h | 2 | ||||
-rw-r--r-- | main.c | 2 |
3 files changed, 4 insertions, 2 deletions
@@ -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 */ @@ -17,5 +17,7 @@ void show_stat __P ((void)); void cmd_add_command( cmdstruct *cmd ); +void initialize_cmd(void); + #endif /* _CMD_H_ */ @@ -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); |