summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2000-05-26 16:23:37 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2000-05-26 16:23:37 +0000
commit45ed8327ceaaf12e02fe2b425569aa606496f8e4 (patch)
treedbf960b4bef92de87f8e03af704563abe8c5b861 /time
parentd96e95f8e64abe4eeb5cc25c5364d8096050782d (diff)
downloadlibapr-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 'time')
-rw-r--r--time/unix/timestr.c4
-rw-r--r--time/win32/timestr.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/time/unix/timestr.c b/time/unix/timestr.c
index 889f47997..24f0c7a6b 100644
--- a/time/unix/timestr.c
+++ b/time/unix/timestr.c
@@ -57,11 +57,11 @@
#include <string.h>
-API_VAR_EXPORT const char ap_month_snames[12][4] =
+APR_EXPORT_VAR const char ap_month_snames[12][4] =
{
"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
};
-API_VAR_EXPORT const char ap_day_snames[7][4] =
+APR_EXPORT_VAR const char ap_day_snames[7][4] =
{
"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"
};
diff --git a/time/win32/timestr.c b/time/win32/timestr.c
index 099fc1448..4a4ca5ba9 100644
--- a/time/win32/timestr.c
+++ b/time/win32/timestr.c
@@ -55,11 +55,11 @@
#include "atime.h"
#include "apr_portable.h"
-API_VAR_EXPORT const char ap_month_snames[12][4] =
+APR_EXPORT_VAR const char ap_month_snames[12][4] =
{
"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
};
-API_VAR_EXPORT const char ap_day_snames[7][4] =
+APR_EXPORT_VAR const char ap_day_snames[7][4] =
{
"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"
};