From 60d9aeed6e61463fa266bcf47bf50e2dd0cfad3d Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 1 Jun 1999 02:03:21 +0000 Subject: [PATCH] Remove LDAP_LIBUI dependency. --- libraries/liblber/dtest.c | 4 ++-- libraries/liblber/etest.c | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/libraries/liblber/dtest.c b/libraries/liblber/dtest.c index 3422873892..e602315634 100644 --- a/libraries/liblber/dtest.c +++ b/libraries/liblber/dtest.c @@ -26,7 +26,7 @@ #ifdef HAVE_CONSOLE_H #include -#endif /* MACOS */ +#endif #include @@ -58,7 +58,7 @@ main( int argc, char **argv ) #ifdef HAVE_CONSOLE_H ccommand( &argv ); cshow( stdout ); -#endif /* MACOS */ +#endif sb = ber_sockbuf_alloc_fd( fileno(stdin) ); diff --git a/libraries/liblber/etest.c b/libraries/liblber/etest.c index cb532f4402..c0b2f40ce1 100644 --- a/libraries/liblber/etest.c +++ b/libraries/liblber/etest.c @@ -71,7 +71,7 @@ main( int argc, char **argv ) #else fd = fileno(stdout); -#endif /* MACOS */ +#endif sb = ber_sockbuf_alloc_fd( fd ); @@ -128,9 +128,7 @@ main( int argc, char **argv ) break; default: -#ifdef LDAP_LIBUI - fprintf( stderr, "unknown fmt %c\n", *fmt ); -#endif /* LDAP_LIBUI */ + fprintf( stderr, "encode: unknown fmt %c\n", *fmt ); rc = -1; break; } -- 2.39.5