Remove unnecessary struct.h include from hash.h

This commit is contained in:
Kevin Easton
2017-05-04 23:14:00 +10:00
parent be65ab7adb
commit 6d50e933ee

View File

@@ -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 */