projects
/
darkstat-debian
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pull in darkstat-3.0.718
[darkstat-debian]
/
ncache.c
diff --git
a/ncache.c
b/ncache.c
index
96e052f
..
1d23d1c
100644
(file)
--- a/
ncache.c
+++ b/
ncache.c
@@
-1,5
+1,5
@@
/* darkstat 3
/* darkstat 3
- * copyright (c) 2001-201
1
Emil Mikulic.
+ * copyright (c) 2001-201
4
Emil Mikulic.
*
* ncache.c: cache of protocol and service names.
*
*
* ncache.c: cache of protocol and service names.
*
@@
-33,7
+33,7
@@
rec_cmp(struct name_rec *a, struct name_rec *b)
}
RB_HEAD(nc_tree, name_rec);
}
RB_HEAD(nc_tree, name_rec);
-RB_GENERATE(nc_tree, name_rec, ptree, rec_cmp)
+RB_GENERATE
_STATIC
(nc_tree, name_rec, ptree, rec_cmp)
static struct nc_tree
t_proto = RB_INITIALIZER(&name_rec),
static struct nc_tree
t_proto = RB_INITIALIZER(&name_rec),