version 1.33 | | version 1.34 |
---|
| | |
/* | | /* |
* static char *rcsid_arch_c = | | * static char *rcsid_arch_c = |
* "$Id: arch.c,v 1.33 2005/10/07 17:54:48 akirschbaum Exp $"; | | * "$Id: arch.c,v 1.34 2005/10/28 19:08:53 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
unsigned long | | unsigned long |
hasharch(const char *str, int tablesize) { | | hasharch(const char *str, int tablesize) { |
unsigned long hash = 0; | | unsigned long hash = 0; |
int i = 0, rot = 0; | | int i = 0; |
| | unsigned rot = 0; |
const char *p; | | const char *p; |
| | |
for (p = str; i < MAXSTRING && *p; p++, i++) { | | for (p = str; i < MAXSTRING && *p; p++, i++) { |