trawick 01/07/03 05:55:34
Modified: memory/unix apr_sms_trivial.c
Log:
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
Revision Changes Path
1.8 +4 -4 apr/memory/unix/apr_sms_trivial.c
Index: apr_sms_trivial.c
===================================================================
RCS file: /home/cvs/apr/memory/unix/apr_sms_trivial.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- apr_sms_trivial.c 2001/07/03 11:07:28 1.7
+++ apr_sms_trivial.c 2001/07/03 12:55:26 1.8
@@ -388,9 +388,9 @@
}
#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 @@
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)
{