]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
Make struct operhash_entry private.
authorJilles Tjoelker <redacted>
Mon, 1 Mar 2010 00:24:00 +0000 (01:24 +0100)
committerJilles Tjoelker <redacted>
Mon, 1 Mar 2010 00:24:00 +0000 (01:24 +0100)
include/operhash.h
src/operhash.c

index 643abf9d44a682d4f212e2a51536a8394672ccfc..c999b720244fdc3a52468399807e5f6d000c431b 100644 (file)
@@ -1,12 +1,6 @@
 #ifndef INCLUDED_operhash_h
 #define INCLUDED_operhash_h
 
-struct operhash_entry
-{
-       char *name;
-       int refcount;
-};
-
 void init_operhash(void);
 const char *operhash_add(const char *name);
 const char *operhash_find(const char *name);
index 5e416d0d7fdea66cd41fb2adce8b05b93079415b..ed6cda1e755d14b43d86e431e81e180d4527508d 100644 (file)
 
 #define hash_opername(x) fnv_hash_upper((const unsigned char *)(x), OPERHASH_MAX_BITS)
 
+struct operhash_entry
+{
+       char *name;
+       int refcount;
+};
+
 static rb_dlink_list operhash_table[OPERHASH_MAX];
 
 const char *