From 41a48b09dd6b49c27f67a238473401b18cc4c0a1 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sun, 25 Oct 1998 01:57:30 +0000 Subject: [PATCH] Wasn't merged. Just use autoconf version. --- libraries/libldap/url.c | 34 +++++++++------------------------- 1 file changed, 9 insertions(+), 25 deletions(-) diff --git a/libraries/libldap/url.c b/libraries/libldap/url.c index b1b60608b8..83ccbdc546 100644 --- a/libraries/libldap/url.c +++ b/libraries/libldap/url.c @@ -17,44 +17,28 @@ * We also tolerate URLs that look like: and */ +#include "portable.h" + #ifndef lint static char copyright[] = "@(#) Copyright (c) 1996 Regents of the University of Michigan.\nAll rights reserved.\n"; #endif #include -#include -#include #include -#ifdef MACOS -#include "macos.h" -#endif /* MACOS */ - -#if defined( DOS ) || defined( _WIN32 ) -#include -#include "msdos.h" -#endif /* DOS || _WIN32 */ - -#if !defined(MACOS) && !defined(DOS) && !defined( _WIN32 ) -#include -#include -#include -#endif /* !MACOS && !DOS && !_WIN32 */ +#include +#include +#include +#include #include "lber.h" #include "ldap.h" #include "ldap-int.h" -#ifdef NEEDPROTOS -static int skip_url_prefix( char **urlp, int *enclosedp ); -static void hex_unescape( char *s ); -static int unhex( char c ); -#else /* NEEDPROTOS */ -static int skip_url_prefix(); -static void hex_unescape(); -static int unhex(); -#endif /* NEEDPROTOS */ +static int skip_url_prefix LDAP_P(( char **urlp, int *enclosedp )); +static void hex_unescape LDAP_P(( char *s )); +static int unhex LDAP_P(( char c )); int -- 2.39.5