summaryrefslogtreecommitdiff
path: root/threadproc
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2007-05-31 22:08:44 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2007-05-31 22:08:44 +0000
commitee23306e76805ceb9d6eecbec4eff6fa35727504 (patch)
tree7ab8ff46ff6004f9acd7eebeb388210506129df1 /threadproc
parentb1fd2188790edb6e4c8bdfc59ec7264c403fddb5 (diff)
downloadlibapr-ee23306e76805ceb9d6eecbec4eff6fa35727504.tar.gz
Suppress warning of unused static function.
PR: 39868 Submitted by: Curt Arnold <carnold apache.org> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@543279 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc')
-rw-r--r--threadproc/win32/proc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/threadproc/win32/proc.c b/threadproc/win32/proc.c
index 5a909eb1d..1a20638e1 100644
--- a/threadproc/win32/proc.c
+++ b/threadproc/win32/proc.c
@@ -201,6 +201,7 @@ APR_DECLARE(apr_status_t) apr_procattr_detach_set(apr_procattr_t *attr,
return APR_SUCCESS;
}
+#ifndef _WIN32_WCE
static apr_status_t attr_cleanup(void *theattr)
{
apr_procattr_t *attr = (apr_procattr_t *)theattr;
@@ -209,6 +210,7 @@ static apr_status_t attr_cleanup(void *theattr)
attr->user_token = NULL;
return APR_SUCCESS;
}
+#endif
APR_DECLARE(apr_status_t) apr_procattr_user_set(apr_procattr_t *attr,
const char *username,