Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 36340 invoked by uid 500); 12 Oct 2001 13:31:25 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 36323 invoked from network); 12 Oct 2001 13:31:23 -0000 Date: 12 Oct 2001 13:26:36 -0000 Message-ID: <20011012132636.86035.qmail@icarus.apache.org> From: trawick@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/test testlock.c testnames.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N trawick 01/10/12 06:26:36 Modified: test testlock.c testnames.c Log: clean up some gcc warnings Revision Changes Path 1.12 +1 -1 apr/test/testlock.c Index: testlock.c =================================================================== RCS file: /home/cvs/apr/test/testlock.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- testlock.c 2001/10/12 01:11:14 1.11 +++ testlock.c 2001/10/12 13:26:35 1.12 @@ -568,7 +568,7 @@ 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; 1.8 +3 -2 apr/test/testnames.c Index: testnames.c =================================================================== RCS file: /home/cvs/apr/test/testnames.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- testnames.c 2001/07/01 06:14:12 1.7 +++ testnames.c 2001/10/12 13:26:35 1.8 @@ -70,11 +70,12 @@ 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)