From 4325d05ebc5ca096ee4a0d0177e7651c028c7449 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 29 Mar 2003 11:46:02 +0000 Subject: [PATCH] add function prototypes --- servers/slapd/operation.c | 4 ++-- servers/slapd/proto-slap.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/servers/slapd/operation.c b/servers/slapd/operation.c index 499c884eae..9199e3310c 100644 --- a/servers/slapd/operation.c +++ b/servers/slapd/operation.c @@ -21,13 +21,13 @@ static ldap_pvt_thread_mutex_t slap_op_mutex; static LDAP_STAILQ_HEAD(s_o, slap_op) slap_free_ops; -void slap_op_init() +void slap_op_init(void) { ldap_pvt_thread_mutex_init( &slap_op_mutex ); LDAP_STAILQ_INIT(&slap_free_ops); } -void slap_op_destroy() +void slap_op_destroy(void) { Operation *o; diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h index 6c5a613349..07c3ae3260 100644 --- a/servers/slapd/proto-slap.h +++ b/servers/slapd/proto-slap.h @@ -769,6 +769,8 @@ LDAP_SLAPD_F (int) parse_oidm LDAP_P(( /* * operation.c */ +LDAP_SLAPD_F (void) slap_op_init LDAP_P(( void )); +LDAP_SLAPD_F (void) slap_op_destroy LDAP_P(( void )); LDAP_SLAPD_F (void) slap_op_free LDAP_P(( Operation *op )); LDAP_SLAPD_F (Operation *) slap_op_alloc LDAP_P(( BerElement *ber, ber_int_t msgid, -- 2.39.5