Browse Source

fixed "T_TABLE_POWER" redefinition

Jiri Kuthan 23 years ago
parent
commit
6087f5f6bc
1 changed files with 3 additions and 0 deletions
  1. 3 0
      modules/tm/config.h

+ 3 - 0
modules/tm/config.h

@@ -30,9 +30,12 @@
 #ifndef _TM_CONFIG_H
 #ifndef _TM_CONFIG_H
 #define _TM_CONFIG_H
 #define _TM_CONFIG_H
 
 
+#ifdef _OBSOLETED
+/* moved to hash.h */
 /* always use a power of 2 for hash table size */
 /* always use a power of 2 for hash table size */
 #define T_TABLE_POWER    12
 #define T_TABLE_POWER    12
 #define TABLE_ENTRIES    (1 << (T_TABLE_POWER))
 #define TABLE_ENTRIES    (1 << (T_TABLE_POWER))
+#endif
 
 
 /* this is where table size is defined now -- sort of
 /* this is where table size is defined now -- sort of
    ugly, core should not be bothered by TM table size,
    ugly, core should not be bothered by TM table size,