CLEANUP: guid: remove global tree export
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 7 Nov 2024 10:08:05 +0000 (11:08 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 13 Nov 2024 09:57:10 +0000 (10:57 +0100)
guid_tree is not directly used outside of functions provided by the guid
module. Remove its export from the include file.

(cherry picked from commit b70880cdc9c01602197fd124c84ab264f6b4ddfb)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>

include/haproxy/guid.h

index ecfeb6a..a605c86 100644 (file)
@@ -3,8 +3,6 @@
 
 #include <haproxy/guid-t.h>
 
-extern struct eb_root guid_tree;
-
 void guid_init(struct guid_node *node);
 int guid_insert(enum obj_type *obj_type, const char *uid, char **errmsg);
 void guid_remove(struct guid_node *guid);