From 921158f6fc06840408a4094520fdd0b1465927e2 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Fri, 5 Mar 1999 01:03:13 +0000 Subject: [PATCH] Remove LDAP_P() from prototypes with 'Byte' arguments --- libraries/libldap/charset.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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. -- 2.39.5