From: Alan T. DeKok Date: Fri, 30 Aug 2024 14:55:56 +0000 (-0400) Subject: add 'const' X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14e6bb2c231c6eda8b6e28abb3364d36719dcf1a;p=thirdparty%2Ffreeradius-server.git add 'const' --- diff --git a/src/lib/unlang/foreach_priv.h b/src/lib/unlang/foreach_priv.h index 798477e2c5..43df37dca8 100644 --- a/src/lib/unlang/foreach_priv.h +++ b/src/lib/unlang/foreach_priv.h @@ -32,7 +32,7 @@ extern "C" { typedef struct { unlang_group_t group; tmpl_t *vpt; - fr_dict_attr_t *key; //!< key variable for the foreach loop + fr_dict_attr_t const *key; //!< key variable for the foreach loop } unlang_foreach_t; /** Cast a group structure to the foreach keyword extension