diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2000-05-26 16:23:37 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2000-05-26 16:23:37 +0000 |
commit | 45ed8327ceaaf12e02fe2b425569aa606496f8e4 (patch) | |
tree | dbf960b4bef92de87f8e03af704563abe8c5b861 /include/apr_getopt.h | |
parent | d96e95f8e64abe4eeb5cc25c5364d8096050782d (diff) | |
download | libapr-45ed8327ceaaf12e02fe2b425569aa606496f8e4.tar.gz |
Mass update of API_IMPORT/EXPORT symbols TO APR_ symbols.
APR is -NOT- the Apache server, so the import/export declations
cannot use the same defined symbols. Other minor changes
API_THREAD_PROC is now APR_THREAD_PROC.
API_VAR_IMPORT/EXPORT are now APR_IMPORT/EXPORT_VAR, to allow
easier grepping.
The new compilation switches APR_STATIC and APR_EXPORT_SYMBOLS
allow the builder to select either static linked or the creation
of the export symbols for APR. The aprlib and aprlibdll .dsp
projects now include the later symbol.
More cleanups from recent commits are still needed, as well as
a thorough review of the distinction between APR_EXPORT and
APR_EXPORT_NONSTD. The later is used only for pure __cdecl
required functions, such as variable arguments (not va array
arguments, those are not an issue.)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60101 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_getopt.h')
-rw-r--r-- | include/apr_getopt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/apr_getopt.h b/include/apr_getopt.h index f9ae7603f..e98d1e6da 100644 --- a/include/apr_getopt.h +++ b/include/apr_getopt.h @@ -55,12 +55,12 @@ #ifndef APR_GETOPT_H #define APR_GETOPT_H -API_VAR_IMPORT int +APR_IMPORT_VAR int ap_opterr, /* if error message should be printed */ ap_optind, /* index into parent argv vector */ ap_optopt, /* character checked for validity */ ap_optreset; /* reset getopt */ -API_VAR_IMPORT char * +APR_IMPORT_VAR char * ap_optarg; /* argument associated with option */ /* |