Changeset 7004 for trunk/src/kernel32/profile.cpp
- Timestamp:
- Oct 11, 2001, 12:24:35 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/profile.cpp
r5955 r7004 1 /* $Id: profile.cpp,v 1.3 1 2001-06-10 21:59:31 sandervlExp $ */1 /* $Id: profile.cpp,v 1.32 2001-10-10 22:24:35 phaller Exp $ */ 2 2 3 3 /* … … 36 36 #include "initterm.h" 37 37 38 ODINDEBUGCHANNEL(PROFILE) 38 ODINDEBUGCHANNEL(KERNEL32-PROFILE) 39 39 40 40 41 // ------------------------- … … 73 74 char *fullname; //name with path 74 75 time_t mtime; 75 } PROFILE ;76 } PROFILEROOT; 76 77 77 78 … … 80 81 81 82 /* Cached profile files */ 82 static PROFILE *MRUProfile[N_CACHED_PROFILES]={NULL};83 static PROFILEROOT *MRUProfile[N_CACHED_PROFILES]={NULL}; 83 84 84 85 #define CurProfile (MRUProfile[0]) … … 475 476 int i,j; 476 477 struct stat buf; 477 PROFILE *tempProfile;478 PROFILEROOT *tempProfile; 478 479 479 480 if (!filename || filename[0] == 0) return FALSE; … … 484 485 for(i=0;i<N_CACHED_PROFILES;i++) 485 486 { 486 MRUProfile[i]= (PROFILE *)HEAP_xalloc( SystemHeap, 0, sizeof(PROFILE) );487 MRUProfile[i]= (PROFILEROOT*)HEAP_xalloc( SystemHeap, 0, sizeof(PROFILEROOT) ); 487 488 MRUProfile[i]->changed=FALSE; 488 489 MRUProfile[i]->section=NULL; … … 1643 1644 ODINPROCEDURE0(WriteOutProfiles) 1644 1645 { 1645 PROFILE *lastCurProfile;1646 PROFILEROOT *lastCurProfile; 1646 1647 INT x; 1647 1648
Note:
See TracChangeset
for help on using the changeset viewer.