From: Hallvard Furuseth Date: Thu, 4 Mar 1999 13:51:14 +0000 (+0000) Subject: Protoize cnvt_str2int() X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~483 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=47093d06175e1da423625f6e008b027ed68b99cd;p=openldap Protoize cnvt_str2int() --- diff --git a/servers/slapd/main.c b/servers/slapd/main.c index 08b243fdd2..16b3e2cf2b 100644 --- a/servers/slapd/main.c +++ b/servers/slapd/main.c @@ -41,7 +41,7 @@ static STRDISP syslog_types[] = { NULL }; -static int cnvt_str2int(); +static int cnvt_str2int( char *, STRDISP_P, int ); #endif /* LOG_LOCAL4 */ @@ -337,10 +337,7 @@ destroy: */ static int -cnvt_str2int (stringVal, dispatcher, defaultVal) -char *stringVal; -STRDISP_P dispatcher; -int defaultVal; +cnvt_str2int( char *stringVal, STRDISP_P dispatcher, int defaultVal ) { int retVal = defaultVal; STRDISP_P disp;