From: James Jones Date: Fri, 10 Mar 2023 16:53:51 +0000 (-0600) Subject: Get rid of unresolved explicit link request warning (#4925) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=185f264a3d330f574e2d884b0b1d63ae1637e51f;p=thirdparty%2Ffreeradius-server.git Get rid of unresolved explicit link request warning (#4925) It turns out that the link requests we use that work are to types, values, and functions known at the time of the link request. This doesn't work for not-yet-seen function parameters. --- diff --git a/src/lib/util/pair.c b/src/lib/util/pair.c index fbdece39144..51a62edce30 100644 --- a/src/lib/util/pair.c +++ b/src/lib/util/pair.c @@ -1335,7 +1335,7 @@ int fr_pair_insert_before(fr_pair_list_t *list, fr_pair_t *pos, fr_pair_t *to_ad * @note Memory used by the VP being replaced will be freed. * * @param[in,out] list pair list - * @param[in] to_replace pair to replace and free, on #list + * @param[in] to_replace pair to replace and free, on list * @param[in] vp New pair to insert. */ void fr_pair_replace(fr_pair_list_t *list, fr_pair_t *to_replace, fr_pair_t *vp)