]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove unused macros
authorAlan T. DeKok <aland@freeradius.org>
Mon, 4 Apr 2022 12:43:11 +0000 (08:43 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 4 Apr 2022 18:46:12 +0000 (14:46 -0400)
src/lib/util/pair.h

index b5d903d62baa06ba870a8ac2136f5564fdc801ee..e64b0efba570503e01f6681f3b3f711df43c18b2 100644 (file)
@@ -186,13 +186,6 @@ DIAG_ON(nonnull-compare)
 /* Initialisation */
 void fr_pair_list_init(fr_pair_list_t *head) CC_HINT(nonnull);
 
-/*
- *  Temporary macro to point the head of a pair_list to a specific vp
- */
-#define fr_pair_list_set_head(_list, _vp) (_list = &_vp)
-
-#define fr_pair_list_from_dcursor(_cursor) (fr_pair_list_t *) (((uint8_t *) (_cursor->dlist)) - offsetof(fr_pair_list_t, order))
-
 /* Allocation and management */
 fr_pair_t      *fr_pair_alloc_null(TALLOC_CTX *ctx) CC_HINT(warn_unused_result);