You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by na...@apache.org on 2006/02/08 12:41:04 UTC
svn commit: r375940 - in
/webservices/axis2/trunk/c/modules/platforms/windows:
axis2_getopt_windows.h getopt_windows.c
Author: nandika
Date: Wed Feb 8 03:40:57 2006
New Revision: 375940
URL: http://svn.apache.org/viewcvs?rev=375940&view=rev
Log: (empty)
Modified:
webservices/axis2/trunk/c/modules/platforms/windows/axis2_getopt_windows.h
webservices/axis2/trunk/c/modules/platforms/windows/getopt_windows.c
Modified: webservices/axis2/trunk/c/modules/platforms/windows/axis2_getopt_windows.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/platforms/windows/axis2_getopt_windows.h?rev=375940&r1=375939&r2=375940&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/platforms/windows/axis2_getopt_windows.h (original)
+++ webservices/axis2/trunk/c/modules/platforms/windows/axis2_getopt_windows.h Wed Feb 8 03:40:57 2006
@@ -16,9 +16,9 @@
* @{
*/
-AXIS2_DECLARE_DATA int opterr;
-AXIS2_DECLARE_DATA int optopt;
-AXIS2_DECLARE_DATA char *optarg;
+AXIS2_DECLARE_DATA extern int opterr;
+AXIS2_DECLARE_DATA extern int optopt;
+AXIS2_DECLARE_DATA extern char *optarg;
/**
* return and log error
Modified: webservices/axis2/trunk/c/modules/platforms/windows/getopt_windows.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/platforms/windows/getopt_windows.c?rev=375940&r1=375939&r2=375940&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/platforms/windows/getopt_windows.c (original)
+++ webservices/axis2/trunk/c/modules/platforms/windows/getopt_windows.c Wed Feb 8 03:40:57 2006
@@ -6,10 +6,9 @@
int opterr = 1; /*default - log error*/
int optind = 1;
-/*
int optopt;
char *optarg;
-*/
+
#define AXIS2_OPT_ERR_NO_ARG 1
#define AXIS2_OPT_ERR_INVALID_OPTION 2
#define AXIS2_OPT_ERR_BAD_ARG 3