summaryrefslogtreecommitdiff
path: root/strings/apr_strnatcmp.c
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2001-01-18 20:07:38 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2001-01-18 20:07:38 +0000
commit3c2bc464caefadbf493820130dd797c51cdd8bea (patch)
treea21755e522129a30298b67dc1e39a2e239cbf263 /strings/apr_strnatcmp.c
parent298e2f33de5191cf40e0bb7c1c455e587d798385 (diff)
downloadapr-3c2bc464caefadbf493820130dd797c51cdd8bea.tar.gz
Add remaining APR_DECLARE()s to all headers. Conditionally added
APR_DECLARES() to the sources, based on compilation emits (there are many that should be changed eventually, but the compiler will emit errors if those sources are added for win32). This change also splits libapr from apr, so the two projects are compiled seperately. Both .dsp files must be kept up-to-date with source file revisions. Finally, libapr.def is no longer needed - so it is gone. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61072 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'strings/apr_strnatcmp.c')
-rw-r--r--strings/apr_strnatcmp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/strings/apr_strnatcmp.c b/strings/apr_strnatcmp.c
index 32140e3b3..a69b0c7d6 100644
--- a/strings/apr_strnatcmp.c
+++ b/strings/apr_strnatcmp.c
@@ -140,12 +140,14 @@ static int strnatcmp0(char const *a, char const *b, int fold_case)
-int apr_strnatcmp(char const *a, char const *b) {
+APR_DECLARE(int) apr_strnatcmp(char const *a, char const *b)
+{
return strnatcmp0(a, b, 0);
}
/* Compare, recognizing numeric string and ignoring case. */
-int apr_strnatcasecmp(char const *a, char const *b) {
+APR_DECLARE(int) apr_strnatcasecmp(char const *a, char const *b)
+{
return strnatcmp0(a, b, 1);
}