Changeset 16888 for trunk/Ohana/src/opihi/lib.shell/ConfigInit.c
- Timestamp:
- Mar 8, 2008, 11:26:00 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/lib.shell/ConfigInit.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/lib.shell/ConfigInit.c
r16440 r16888 3 3 static char *GlobalConfig; 4 4 5 // this function is only called at start, so it is not thread protect 5 6 int ConfigInit (int *argc, char **argv) { 6 7 … … 19 20 free (file); 20 21 return (TRUE); 22 } 23 24 // this function is only called at shutdown, so it is not thread protect 25 void ConfigFree () { 26 if (GlobalConfig) free (GlobalConfig); 27 return; 21 28 } 22 29 … … 65 72 } 66 73 67 void ConfigFree () {68 if (GlobalConfig) free (GlobalConfig);69 return;70 }
Note:
See TracChangeset
for help on using the changeset viewer.
