From b32f744d0e78f0d14a784a388510ebe5065228e0 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Mon, 7 Feb 2000 21:54:31 +0000 Subject: [PATCH] use ANSI function prototype --- src/libCom/osi/os/WIN32/getopt.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libCom/osi/os/WIN32/getopt.h b/src/libCom/osi/os/WIN32/getopt.h index 04c076a91..e5d69c0f7 100644 --- a/src/libCom/osi/os/WIN32/getopt.h +++ b/src/libCom/osi/os/WIN32/getopt.h @@ -104,7 +104,8 @@ struct option epicsShareFunc extern int epicsShareAPI getopt (int argc, char *const *argv, const char *shortopts); #else /* not __GNU_LIBRARY__ */ -epicsShareFunc extern int epicsShareAPI getopt (); +epicsShareFunc extern int epicsShareAPI + getopt (int argc, char *const *argv, const char *shortopts); #endif /* not __GNU_LIBRARY__ */ epicsShareFunc extern int epicsShareAPI getopt_long (int argc, char *const *argv, const char *shortopts,