edje_decc: use void to force empty function parameters
authorStefan Schmidt <stefan@osg.samsung.com>
Thu, 26 Nov 2015 16:20:14 +0000 (17:20 +0100)
committerStefan Schmidt <stefan@osg.samsung.com>
Thu, 26 Nov 2015 16:20:14 +0000 (17:20 +0100)
We have to use void in a function declaration if we want no function
parameters. Using just empty parenthesis means the function takes an
unspecified number of parameters.

We had it correct for most declarations and this series fixes it for
the rest.

src/bin/edje/edje_decc.c

index 5eeb7ef..2f5fe96 100644 (file)
@@ -35,8 +35,8 @@ int new_dir = 1;
 
 int        decomp(void);
 void       output(void);
-static int compiler_cmd_is_sane();
-static int root_filename_is_sane();
+static int compiler_cmd_is_sane(void);
+static int root_filename_is_sane(void);
 
 
 static void