aboutsummaryrefslogtreecommitdiff
path: root/threadproc/unix
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2001-07-24 13:47:46 +0000
committerJeff Trawick <trawick@apache.org>2001-07-24 13:47:46 +0000
commit744586cc4744c8b6226ea058a71bc56e158ca259 (patch)
treea770555c9f86c759c9968029d58ea9ddb13a2b84 /threadproc/unix
parentf0ee840fa93b8a1b8fd2213150e1eb28788308db (diff)
downloadapr-744586cc4744c8b6226ea058a71bc56e158ca259.tar.gz
apr-744586cc4744c8b6226ea058a71bc56e158ca259.zip
fix a warning for dummy_worker(); it wasn't static and didn't have a
prototype git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62007 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/unix')
-rw-r--r--threadproc/unix/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/threadproc/unix/thread.c b/threadproc/unix/thread.c
index ce1faacb1..634c08b82 100644
--- a/threadproc/unix/thread.c
+++ b/threadproc/unix/thread.c
@@ -116,7 +116,7 @@ apr_status_t apr_threadattr_detach_get(apr_threadattr_t *attr)
return APR_NOTDETACH;
}
-void *dummy_worker(void *opaque)
+static void *dummy_worker(void *opaque)
{
apr_thread_t *thread = (apr_thread_t*)opaque;
return thread->func(thread, thread->data);