Changeset 406 in kBuild for trunk/src/lib
- Timestamp:
- Jan 15, 2006 12:53:31 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/kDep.c
r404 r406 185 185 } 186 186 187 /**188 * Corrects all slashes to unix slashes.189 *190 * @returns pszFilename.191 * @param pszFilename The filename to correct.192 */193 static char *fixslash(char *pszFilename)194 {195 char *psz = pszFilename;196 while ((psz = strchr(psz, '\\')) != NULL)197 *psz++ = '/';198 return pszFilename;199 }200 201 187 #elif defined(__OS2__) 202 188 … … 379 365 #endif 380 366 } 367 368 369 #ifndef __OS2__ 370 /** 371 * Corrects all slashes to unix slashes. 372 * 373 * @returns pszFilename. 374 * @param pszFilename The filename to correct. 375 */ 376 static char *fixslash(char *pszFilename) 377 { 378 char *psz = pszFilename; 379 while ((psz = strchr(psz, '\\')) != NULL) 380 *psz++ = '/'; 381 return pszFilename; 382 } 383 #endif 381 384 382 385
Note:
See TracChangeset
for help on using the changeset viewer.