]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
tmpl_from_attr_substr is now private
authorAlan T. DeKok <aland@freeradius.org>
Mon, 23 Jan 2017 21:11:36 +0000 (16:11 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 23 Jan 2017 21:11:36 +0000 (16:11 -0500)
src/include/tmpl.h
src/main/tmpl.c

index 1de3cd5cceabf58a6853e7a8b660dfa4e9542cc9..51659763778946844fa7c2048c82a642fd8cf90b 100644 (file)
@@ -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,
index a669bd4ba87377ad707089d211e0fe029b0da071..552c45a96516d36b4c8712946cf4dc096d8f4379 100644 (file)
@@ -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;