X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_getopt.h;h=1d443f194f0fa18cef6bf4613054c6327fe3a318;hp=91906efe2dc7b7f9c635bb753c3c0d67b5947df1;hb=aff0a2728543eee1ac21f3fa02f171caae8d9362;hpb=82d6afdfe67c94910cf72ea0d65c7e0cd1e9af7b diff --git a/src/rrd_getopt.h b/src/rrd_getopt.h index 91906ef..1d443f1 100644 --- a/src/rrd_getopt.h +++ b/src/rrd_getopt.h @@ -132,15 +132,17 @@ extern "C" { 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