Difference for common/arch.c from version 1.36 to 1.37


version 1.36 version 1.37
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_arch_c =   * static char *rcsid_arch_c =
  *   "$Id: arch.c,v 1.36 2006/02/08 23:53:19 akirschbaum Exp $";   *   "$Id: arch.c,v 1.37 2006/02/10 23:59:25 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 34
 
Line 34
 /* IF set, does a little timing on the archetype load. */  /* IF set, does a little timing on the archetype load. */
 #define TIME_ARCH_LOAD 0  #define TIME_ARCH_LOAD 0
   
   static void add_arch(archetype *at);
   
 static archetype *arch_table[ARCHTABLE];  static archetype *arch_table[ARCHTABLE];
 int arch_cmp=0; /* How many strcmp's */  int arch_cmp=0; /* How many strcmp's */
 int arch_search=0; /* How many searches */  int arch_search=0; /* How many searches */
Line 679
 
Line 681
  * Adds an archetype to the hashtable.   * Adds an archetype to the hashtable.
  */   */
   
 void add_arch(archetype *at) {  static void add_arch(archetype *at) {
   int index=hasharch(at->name, ARCHTABLE),org_index=index;    int index=hasharch(at->name, ARCHTABLE),org_index=index;
   for(;;) {    for(;;) {
     if(arch_table[index]==NULL) {      if(arch_table[index]==NULL) {


Legend:
line(s) removed in v.1.36 
line(s) changed
 line(s) added in v.1.37

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