From: Alan T. DeKok Date: Mon, 23 Jan 2017 21:11:36 +0000 (-0500) Subject: tmpl_from_attr_substr is now private X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e0d7b48dffa5341ba9498aace7daabf9cf6fd16;p=thirdparty%2Ffreeradius-server.git tmpl_from_attr_substr is now private --- diff --git a/src/include/tmpl.h b/src/include/tmpl.h index 1de3cd5ccea..51659763778 100644 --- a/src/include/tmpl.h +++ b/src/include/tmpl.h @@ -398,10 +398,6 @@ void tmpl_from_da(vp_tmpl_t *vpt, fr_dict_attr_t const *da, int8_t tag, int nu int tmpl_afrom_value_box(TALLOC_CTX *ctx, vp_tmpl_t **out, value_box_t *data, bool steal); -ssize_t tmpl_from_attr_substr(vp_tmpl_t *vpt, char const *name, - request_refs_t request_def, pair_lists_t list_def, - bool allow_unknown, bool allow_undefined); - ssize_t tmpl_from_attr_str(vp_tmpl_t *vpt, char const *name, request_refs_t request_def, pair_lists_t list_def, diff --git a/src/main/tmpl.c b/src/main/tmpl.c index a669bd4ba87..552c45a9651 100644 --- a/src/main/tmpl.c +++ b/src/main/tmpl.c @@ -667,9 +667,9 @@ int tmpl_afrom_value_box(TALLOC_CTX *ctx, vp_tmpl_t **out, value_box_t *data, bo * * @see REMARKER to produce pretty error markers from the return value. */ -ssize_t tmpl_from_attr_substr(vp_tmpl_t *vpt, char const *name, - request_refs_t request_def, pair_lists_t list_def, - bool allow_unknown, bool allow_undefined) +static ssize_t tmpl_from_attr_substr(vp_tmpl_t *vpt, char const *name, + request_refs_t request_def, pair_lists_t list_def, + bool allow_unknown, bool allow_undefined) { char const *p; long num;