]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - mysql_selector.c
fix doxygen comment of the init functions of all audio format handlers.
[paraslash.git] / mysql_selector.c
index 0a7d81f8caaee1dd6c69e1b5ef07ccce6dff0f0d..d7d4ee104f80e6fd6d419ecd2a068073d594cbfe 100644 (file)
@@ -52,7 +52,7 @@ struct para_macro {
        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')"
        }, {
@@ -146,9 +146,10 @@ out:
  * \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) {