Remove unnecessary struct.h include from hash.h
This commit is contained in:
@@ -9,9 +9,8 @@
|
|||||||
*
|
*
|
||||||
* @(#)$Id$
|
* @(#)$Id$
|
||||||
*/
|
*/
|
||||||
|
#ifndef HASH_H_
|
||||||
#ifndef _HASH_H_
|
#define HASH_H_
|
||||||
#define _HASH_H_
|
|
||||||
|
|
||||||
#define NICKLIST_HASHSIZE 79
|
#define NICKLIST_HASHSIZE 79
|
||||||
#define WHOWASLIST_HASHSIZE 271
|
#define WHOWASLIST_HASHSIZE 271
|
||||||
@@ -20,13 +19,10 @@
|
|||||||
# define REMOVE_FROM_LIST 1
|
# define REMOVE_FROM_LIST 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#include "struct.h"
|
|
||||||
|
|
||||||
/* hashentry: structure for all hash lists we make.
|
/* hashentry: structure for all hash lists we make.
|
||||||
* quite generic, but powerful.
|
* quite generic, but powerful.
|
||||||
*/
|
*/
|
||||||
typedef struct hashentry
|
typedef struct hashentry
|
||||||
{
|
{
|
||||||
void *list; /* our linked list, generic void * */
|
void *list; /* our linked list, generic void * */
|
||||||
unsigned short hits; /* how many hits this spot has gotten */
|
unsigned short hits; /* how many hits this spot has gotten */
|
||||||
|
|||||||
Reference in New Issue
Block a user