diff options
Diffstat (limited to 'util/merge_board.c')
-rw-r--r-- | util/merge_board.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/util/merge_board.c b/util/merge_board.c index 12f41346..4fc643c1 100644 --- a/util/merge_board.c +++ b/util/merge_board.c @@ -1,11 +1,5 @@ /* $Id$ */ -#include <stdio.h> -#include <stdlib.h> -#include <ctype.h> -#include <string.h> -#include <sys/types.h> -#include "config.h" -#include "pttstruct.h" +#include "bbs.h" typedef struct hash_t { char *brdname; @@ -28,7 +22,7 @@ unsigned int string_hash(unsigned char *s) { v = (v << 8) | (v >> 24); v ^= toupper(*s++); /* note this is case insensitive */ } - return (v * 2654435769UL) >> (32 - 16); + return (v * 2654435769U) >> (32 - 16); } int is_exist(char *brdname) { |