Added explicit 'void' to function that takes no argument

This is the correct way to tell that a function takes no
arguments, because an empty parameter list tells the compiler
that it is not yet defined, and is tolerated only for
compatibility with very old C compilers for whom prototypes
were not yet a defined language element.
This commit is contained in:
Christophe CURIS authored and Carlos R. Mafra committed 2013-05-12 01:01:20 +01:00
1 parent a3281b1e89
commit a622197faa
12 files changed
+17 -17

No files matched your search

+1 -1
View File
@@ -97,7 +97,7 @@ char **RSupportedFileFormats(void)
return tmp;
}
static void init_cache()
static void init_cache(void)
{
char *tmp;