Changeset 331
- Timestamp:
- 11/28/99 20:39:52 (13 years ago)
- Location:
- common/trunk/src
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
common/trunk/src/debug.c
r330 r331 138 138 } 139 139 140 void debug_set_core_dir(const char *argv0)140 void _debug_set_core_dir(const char *argv0) 141 141 { 142 142 #if defined(DEBUG) && !defined(WIN32) … … 152 152 } 153 153 154 /* Should check length of appname, but this is debug code ...*/154 /* Should check length of appname, but this is debug code */ 155 155 /* and developers should know better than to have 64 char */ 156 156 /* app name. */ … … 172 172 chdir(coredir); 173 173 #endif /* DEBUG */ 174 UNUSED(argv0); 174 175 } -
common/trunk/src/debug.h
r330 r331 50 50 void _dprintf(const char *format, ...); 51 51 void debug_dump(void*lp, long len); 52 void debug_set_core_dir(const char *argv0); 52 53 #ifdef DEBUG 54 void _debug_set_core_dir(const char *argv0); 55 #define debug_set_core_dir(x) _debug_set_core_dir(x) 56 #else 57 #define debug_set_core_dir(x) 58 #endif 53 59 54 60 #if defined(__cplusplus)
