diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2001-07-03 12:55:26 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2001-07-03 12:55:26 +0000 |
commit | 973b62315d848362b280f46733302a2eeb1b317a (patch) | |
tree | 832d6da7567e06904f6aaa8cbd32d22e02f5f83d /memory | |
parent | 5a0f8d4e1fec29fc356f7bde9040ea998301c22d (diff) | |
download | libapr-973b62315d848362b280f46733302a2eeb1b317a.tar.gz |
apr_sms_trivial_thread_[un]register() got warnings since it was
exported but had no prototype; I don't think it needs to be
exported, so make it static
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61865 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'memory')
-rw-r--r-- | memory/unix/apr_sms_trivial.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/memory/unix/apr_sms_trivial.c b/memory/unix/apr_sms_trivial.c index eb5477f2b..6a68a842d 100644 --- a/memory/unix/apr_sms_trivial.c +++ b/memory/unix/apr_sms_trivial.c @@ -388,9 +388,9 @@ static apr_status_t apr_sms_trivial_destroy(apr_sms_t *sms) } #if APR_HAS_THREADS -APR_DECLARE(apr_status_t) apr_sms_trivial_thread_register( - apr_sms_t *sms, - apr_os_thread_t thread) +static apr_status_t apr_sms_trivial_thread_register( + apr_sms_t *sms, + apr_os_thread_t thread) { if (!SMS_TRIVIAL_T(sms)->lock && sms->threads > 1) return apr_lock_create(&SMS_TRIVIAL_T(sms)->lock, @@ -400,7 +400,7 @@ APR_DECLARE(apr_status_t) apr_sms_trivial_thread_register( return APR_SUCCESS; } -APR_DECLARE(apr_status_t) apr_sms_trivial_thread_unregister( +static apr_status_t apr_sms_trivial_thread_unregister( apr_sms_t *sms, apr_os_thread_t thread) { |