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 /test | |
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 'test')
-rw-r--r-- | test/testthread.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/testthread.c b/test/testthread.c index f82f496ce..eeba90c1b 100644 --- a/test/testthread.c +++ b/test/testthread.c @@ -63,17 +63,17 @@ #endif -void * API_THREAD_FUNC thread_func1(void *data); -void * API_THREAD_FUNC thread_func2(void *data); -void * API_THREAD_FUNC thread_func3(void *data); -void * API_THREAD_FUNC thread_func4(void *data); +void * APR_THREAD_FUNC thread_func1(void *data); +void * APR_THREAD_FUNC thread_func2(void *data); +void * APR_THREAD_FUNC thread_func3(void *data); +void * APR_THREAD_FUNC thread_func4(void *data); ap_lock_t *thread_lock; ap_pool_t *context; int x = 0; -void * API_THREAD_FUNC thread_func1(void *data) +void * APR_THREAD_FUNC thread_func1(void *data) { int i; for (i = 0; i < 10000; i++) { @@ -84,7 +84,7 @@ void * API_THREAD_FUNC thread_func1(void *data) return NULL; } -void * API_THREAD_FUNC thread_func2(void *data) +void * APR_THREAD_FUNC thread_func2(void *data) { int i; for (i = 0; i < 10000; i++) { @@ -95,7 +95,7 @@ void * API_THREAD_FUNC thread_func2(void *data) return NULL; } -void * API_THREAD_FUNC thread_func3(void *data) +void * APR_THREAD_FUNC thread_func3(void *data) { int i; for (i = 0; i < 10000; i++) { @@ -106,7 +106,7 @@ void * API_THREAD_FUNC thread_func3(void *data) return NULL; } -void * API_THREAD_FUNC thread_func4(void *data) +void * APR_THREAD_FUNC thread_func4(void *data) { int i; for (i = 0; i < 10000; i++) { |