From 1f2dc24b5d9f1837c126edb7c1875ee759b80245 Mon Sep 17 00:00:00 2001 From: "Asanka C. Herath" Date: Tue, 23 Nov 2010 02:23:41 -0500 Subject: [PATCH] Annotate exported variables in getopt.c --- lib/roken/getopt.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/roken/getopt.c b/lib/roken/getopt.c index 612d17db4..ceb5439e5 100644 --- a/lib/roken/getopt.c +++ b/lib/roken/getopt.c @@ -44,11 +44,11 @@ static char sccsid[] = "@(#)getopt.c 8.1 (Berkeley) 6/4/93"; /* * get option letter from argument vector */ -int opterr = 1, /* if error message should be printed */ - optind = 1, /* index into parent argv vector */ - optopt, /* character checked for validity */ - optreset; /* reset getopt */ -char *optarg; /* argument associated with option */ +ROKEN_LIB_VARIABLE int opterr = 1; /* if error message should be printed */ +ROKEN_LIB_VARIABLE int optind = 1; /* index into parent argv vector */ +ROKEN_LIB_VARIABLE int optopt; /* character checked for validity */ +int optreset; /* reset getopt */ +ROKEN_LIB_VARIABLE char *optarg; /* argument associated with option */ #define BADCH (int)'?' #define BADARG (int)':'