From e266044cc41e4aa6e80b943ac32c34985bdea418 Mon Sep 17 00:00:00 2001 From: "Asanka C. Herath" Date: Tue, 23 Nov 2010 01:59:34 -0500 Subject: [PATCH] Declarations for getopt externs --- lib/roken/roken.h.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index d65868880..598faa9e3 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -766,13 +766,13 @@ ROKEN_LIB_FUNCTION void ROKEN_LIB_CALL vsyslog(int, const char *, va_list); #endif #if !HAVE_DECL_OPTARG -extern char *optarg; +ROKEN_LIB_VARIABLE extern char *optarg; #endif #if !HAVE_DECL_OPTIND -extern int optind; +ROKEN_LIB_VARIABLE extern int optind; #endif #if !HAVE_DECL_OPTERR -extern int opterr; +ROKEN_LIB_VARIABLE extern int opterr; #endif #ifndef HAVE_GETIPNODEBYNAME