Fix -Wmissing-prototypes/-Wmissing-declarations warnings
[babeltrace.git] / src / param-parse / param-parse.c
index e2385ad81ada129606bf1300cf75eb225f8b5c98..c2e0ec59349ce5106838dc28d646ed21656d72fc 100644 (file)
@@ -20,6 +20,8 @@
  * SOFTWARE.
  */
 
+#include "param-parse.h"
+
 #include <errno.h>
 #include <stdlib.h>
 #include <string.h>
@@ -581,14 +583,14 @@ bt_value *bt_param_parse(const char *arg, GString *ini_error)
        /* Lexical scanner configuration */
        GScannerConfig scanner_config = {
                /* Skip whitespaces */
-               .cset_skip_characters = " \t\n",
+               .cset_skip_characters = (gchar *) " \t\n",
 
                /* Identifier syntax is: [a-zA-Z_][a-zA-Z0-9_.:-]* */
-               .cset_identifier_first =
+               .cset_identifier_first = (gchar *)
                        G_CSET_a_2_z
                        "_"
                        G_CSET_A_2_Z,
-               .cset_identifier_nth =
+               .cset_identifier_nth = (gchar *)
                        G_CSET_a_2_z
                        "_0123456789-.:"
                        G_CSET_A_2_Z,
This page took 0.023926 seconds and 4 git commands to generate.