From 459fc7faf622929cfaca42021cf385cad2dc48cd Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 3 Aug 2010 14:06:42 +0000 Subject: Fix regressions on POSIX -This line, and those below, will be ignored-- M dirmngr/dirmngr_ldap.c M dirmngr/ChangeLog --- dirmngr/dirmngr_ldap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dirmngr/dirmngr_ldap.c') diff --git a/dirmngr/dirmngr_ldap.c b/dirmngr/dirmngr_ldap.c index f257507be..bdee19933 100644 --- a/dirmngr/dirmngr_ldap.c +++ b/dirmngr/dirmngr_ldap.c @@ -63,8 +63,8 @@ ldap wrapper process we need to include the prototype for our module's main function. */ #ifdef USE_LDAPWRAPPER -# define pth_enter() do { } while (0) -# define pth_leave() do { } while (0) +static void pth_enter (void) { } +static void pth_leave (void) { } #else # include "./ldap-wrapper.h" #endif @@ -153,7 +153,7 @@ static int process_url (my_opt_t myopt, const char *url); /* Function called by argparse.c to display information. */ -#ifndef USE_LDAPWRAPPER +#ifdef USE_LDAPWRAPPER static const char * my_strusage (int level) { -- cgit v1.2.3