From: Pierangelo Masarati Date: Sat, 29 Mar 2003 11:46:02 +0000 (+0000) Subject: add function prototypes X-Git-Tag: NO_SLAP_OP_BLOCKS~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4325d05ebc5ca096ee4a0d0177e7651c028c7449;p=openldap add function prototypes --- 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,