const char *replacement;
};
-static struct para_macro mysql_macro_list[] = {
+static const struct para_macro mysql_macro_list[] = {
{ .name = "IS_N_SET",
.replacement = "(data.%s != '1')"
}, {
* \return \p NULL if one of the underlying calls to \p s_a_r returned \p NULL.
* Otherwise the completely expanded version of \p src is returned.
*/
-__must_check __malloc static char *s_a_r_list(struct para_macro *macro_list, char *src)
+__must_check __malloc static char *s_a_r_list(const struct para_macro *macro_list,
+ char *src)
{
- struct para_macro *mp = macro_list;
+ const struct para_macro *mp = macro_list;
char *ret = NULL, *tmp = para_strdup(src);
while (mp->name) {