trawick 02/01/16 19:17:30
Modified: test testsleep.c
Log:
get rid of some warnings in a non-threaded build
Revision Changes Path
1.5 +2 -0 apr/test/testsleep.c
Index: testsleep.c
===================================================================
RCS file: /home/cvs/apr/test/testsleep.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- testsleep.c 2 Jan 2002 23:04:29 -0000 1.4
+++ testsleep.c 17 Jan 2002 03:17:30 -0000 1.5
@@ -100,8 +100,10 @@
int main(void)
{
apr_pool_t *p;
+#if APR_HAS_THREADS
apr_thread_t *t1, *t2, *t3;
apr_status_t rv;
+#endif
apr_initialize();