diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2001-10-12 13:26:35 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2001-10-12 13:26:35 +0000 |
commit | 3dab0bfdb94afcbca4527802cecb2dd800b4f07f (patch) | |
tree | 467c51c5d3489f2bdc0b109a285c85ec3608de57 | |
parent | a1d1b14ac10a641001fb422f610aada9a57ddb33 (diff) | |
download | libapr-3dab0bfdb94afcbca4527802cecb2dd800b4f07f.tar.gz |
clean up some gcc warnings
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62421 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | test/testlock.c | 2 | ||||
-rw-r--r-- | test/testnames.c | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/test/testlock.c b/test/testlock.c index 37c0b6e3a..44c34e6e6 100644 --- a/test/testlock.c +++ b/test/testlock.c @@ -568,7 +568,7 @@ apr_status_t test_cond(void) return APR_SUCCESS; } -apr_status_t test_timeoutcond(void) +static apr_status_t test_timeoutcond(void) { apr_status_t s; apr_interval_time_t timeout; diff --git a/test/testnames.c b/test/testnames.c index f77a88337..1b3240df2 100644 --- a/test/testnames.c +++ b/test/testnames.c @@ -70,11 +70,12 @@ static void closeapr(void) apr_terminate(); } -static void root_result(char *path) +static void root_result(const char *path) { apr_status_t status; char errmsg[256]; - char *root = NULL; + const char *root = NULL; + status = apr_filepath_root(&root, &path, APR_FILEPATH_NATIVE, context); apr_strerror(status, errmsg, sizeof(errmsg)); if (root) |