diff options
| author | Mickael Savinaud <savmickael@users.noreply.github.com> | 2011-07-29 08:50:55 +0000 |
|---|---|---|
| committer | Mickael Savinaud <savmickael@users.noreply.github.com> | 2011-07-29 08:50:55 +0000 |
| commit | 5743cca5f851a6c33462f66c2006ca5fc78f3c12 (patch) | |
| tree | 79b6e8fa9323b1213d64019b2b7acfe364e81543 /applications/common | |
| parent | e716a316f60f66cd5a6fb07b88b2cb8b9c815cec (diff) | |
solve some obvious warnings for WIN platform, increase number of warning reported on the dashboard, correct last warnings with gcc 4.4 (-Wall)
Diffstat (limited to 'applications/common')
| -rw-r--r-- | applications/common/getopt.c | 2 | ||||
| -rw-r--r-- | applications/common/getopt.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/applications/common/getopt.c b/applications/common/getopt.c index a02dde96..3edd969d 100644 --- a/applications/common/getopt.c +++ b/applications/common/getopt.c @@ -60,7 +60,7 @@ typedef struct option #define EMSG "" /* As this class remembers its values from one Java call to the other, reset the values before each use */ -void reset_options_reading() { +void reset_options_reading(void) { opterr = 1; optind = 1; } diff --git a/applications/common/getopt.h b/applications/common/getopt.h index 779fe470..1b32d2b6 100644 --- a/applications/common/getopt.h +++ b/applications/common/getopt.h @@ -24,6 +24,6 @@ extern char *optarg; extern int getopt(int nargc, char *const *nargv, const char *ostr); extern int getopt_long(int argc, char * const argv[], const char *optstring, const struct option *longopts, int totlen); -extern void reset_options_reading(); +extern void reset_options_reading(void); #endif /* _GETOPT_H_ */ |
