diff --git a/src/rrd_getopt.h b/src/rrd_getopt.h
index 91906efe2dc7b7f9c635bb753c3c0d67b5947df1..1d443f194f0fa18cef6bf4613054c6327fe3a318 100644 (file)
--- a/src/rrd_getopt.h
+++ b/src/rrd_getopt.h
int *longind,
int long_only);
#else /* not __STDC__ */
- extern int getopt(
- );
- extern int getopt_long(
- );
- extern int getopt_long_only(
- );
-
- extern int _getopt_internal(
- );
+ int getopt_long(int argc,
+ char **argv,
+ const char *options,
+ const struct option *long_options,
+ int *opt_index);
+ int _getopt_internal(int argc,
+ char **argv,
+ const char *shortopts,
+ const struct option *longopts,
+ int *longind,
+ int long_only);
#endif /* __STDC__ */
#ifdef __cplusplus