]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
pair dlist functions are internal, not public
authorAlan T. DeKok <aland@freeradius.org>
Mon, 4 Apr 2022 12:42:30 +0000 (08:42 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 4 Apr 2022 18:46:11 +0000 (14:46 -0400)
in preparation for changing the internal structure of pair lists

src/lib/util/pair.c
src/lib/util/pair.h

index 33b50071f55942f454d45efd5bfb0d9353011965..16bedff8f1ff8ed0274fff602ac8d0b389a9cae4 100644 (file)
@@ -560,7 +560,7 @@ int fr_pair_to_unknown(fr_pair_t *vp)
  *     - Next matching fr_pair_t.
  *     - NULL if not more matching fr_pair_ts could be found.
  */
-void *fr_pair_iter_next_by_da(fr_dlist_head_t *list, void *to_eval, void *uctx)
+static void *fr_pair_iter_next_by_da(fr_dlist_head_t *list, void *to_eval, void *uctx)
 {
        fr_pair_t       *c;
        fr_dict_attr_t  *da = uctx;
@@ -583,7 +583,7 @@ void *fr_pair_iter_next_by_da(fr_dlist_head_t *list, void *to_eval, void *uctx)
  *     - Next matching fr_pair_t.
  *     - NULL if not more matching fr_pair_ts could be found.
  */
-void *fr_pair_iter_next_by_ancestor(fr_dlist_head_t *list, void *to_eval, void *uctx)
+static void *fr_pair_iter_next_by_ancestor(fr_dlist_head_t *list, void *to_eval, void *uctx)
 {
        fr_pair_t       *c;
        fr_dict_attr_t  *da = uctx;
index eac70a7308b94c6bf74aa63a2e1c83837bd29f0b..b5d903d62baa06ba870a8ac2136f5564fdc801ee 100644 (file)
@@ -230,12 +230,6 @@ size_t             fr_pair_list_len(fr_pair_list_t const *list) CC_HINT(nonnull);
 /* Searching and list modification */
 int            fr_pair_to_unknown(fr_pair_t *vp) CC_HINT(nonnull);
 
-void           *fr_pair_iter_next_by_da(fr_dlist_head_t *list,
-                                        void *to_eval, void *uctx) CC_HINT(nonnull);
-
-void           *fr_pair_iter_next_by_ancestor(fr_dlist_head_t *list,
-                                              void *to_eval, void *uctx) CC_HINT(nonnull);
-
 bool           fr_pair_matches_da(void const *item, void const *uctx) CC_HINT(nonnull);
 
 /** @hidecallergraph */