Difference for common/init.c from version 1.8 to 1.9


version 1.8 version 1.9
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_init_c =   * static char *rcsid_init_c =
  *   "$Id: init.c,v 1.8 2001/03/19 07:58:10 mwedel Exp $";   *   "$Id: init.c,v 1.9 2001/05/09 06:58:12 mwedel Exp $";
  */   */
   
 /*  /*
Line 162
 
Line 162
 void init_objects() {  void init_objects() {
   int i;    int i;
 /* Initialize all objects: */  /* Initialize all objects: */
   free_objects=objarray;  
   objects=NULL;    objects=NULL;
   active_objects = NULL;    active_objects = NULL;
   
   #ifdef MEMORY_DEBUG
     free_objects=NULL;
   #else
     free_objects=objarray;
   objarray[0].prev=NULL,    objarray[0].prev=NULL,
   objarray[0].next= &objarray[1],    objarray[0].next= &objarray[1],
   SET_FLAG(&objarray[0], FLAG_REMOVED);    SET_FLAG(&objarray[0], FLAG_REMOVED);
Line 179
 
Line 183
   objarray[STARTMAX-1].prev= &objarray[STARTMAX-2];    objarray[STARTMAX-1].prev= &objarray[STARTMAX-2];
   SET_FLAG(&objarray[STARTMAX-1], FLAG_REMOVED);    SET_FLAG(&objarray[STARTMAX-1], FLAG_REMOVED);
   SET_FLAG(&objarray[STARTMAX-1], FLAG_FREED);    SET_FLAG(&objarray[STARTMAX-1], FLAG_FREED);
   #endif
 }  }
   
 /*  /*


Legend:
line(s) removed in v.1.8 
line(s) changed
 line(s) added in v.1.9

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:07