From: Hallvard Furuseth Date: Fri, 5 Mar 1999 01:03:13 +0000 (+0000) Subject: Remove LDAP_P() from prototypes with 'Byte' arguments X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~481 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=921158f6fc06840408a4094520fdd0b1465927e2;p=openldap Remove LDAP_P() from prototypes with 'Byte' arguments --- diff --git a/libraries/libldap/charset.c b/libraries/libldap/charset.c index b3c835e487..20a9db5306 100644 --- a/libraries/libldap/charset.c +++ b/libraries/libldap/charset.c @@ -160,10 +160,12 @@ ldap_translate_to_t61( LDAP *ld, char **bufp, unsigned long *lenp, typedef unsigned char Byte; typedef struct { Byte a, b; } Couple; -static Byte *c_to_hh LDAP_P(( Byte *o, Byte c )); -static Byte *c_to_cc LDAP_P(( Byte *o, Couple *cc, Byte c )); -static int hh_to_c LDAP_P(( Byte *h )); -static Byte *cc_to_t61 LDAP_P(( Byte *o, Byte *s )); +/* Prototypes without LDAP_P(): + * 'Byte' in definition incompatible with unprototyped declaration. */ +static Byte *c_to_hh ( Byte *o, Byte c ); +static Byte *c_to_cc ( Byte *o, Couple *cc, Byte c ); +static int hh_to_c ( Byte *h ); +static Byte *cc_to_t61 ( Byte *o, Byte *s ); /* Character choosed as base in diacritics alone: NO-BREAK SPACE.