ITS#10150 - Remove dead code

Remove dead code for ancient version of macos
This commit is contained in:
Quanah Gibson-Mount 2024-01-11 18:32:03 +00:00
parent 9cdd2c4af7
commit 7c55484ee1
2 changed files with 0 additions and 25 deletions

View file

@ -38,10 +38,6 @@
#include <ac/unistd.h>
#include <ac/errno.h>
#ifdef HAVE_CONSOLE_H
#include <console.h>
#endif
#include <lber.h>
static void usage( const char *name )
@ -70,11 +66,6 @@ main( int argc, char **argv )
return( EXIT_FAILURE );
}
#ifdef HAVE_CONSOLE_H
ccommand( &argv );
cshow( stdout );
#endif
sb = ber_sockbuf_alloc();
fd = fileno( stdin );
ber_sockbuf_add_io( sb, &ber_sockbuf_io_fd, LBER_SBIOD_LEVEL_PROVIDER,

View file

@ -38,10 +38,6 @@
#include <ac/string.h>
#include <ac/unistd.h>
#ifdef HAVE_CONSOLE_H
#include <console.h>
#endif /* HAVE_CONSOLE_H */
#include "lber.h"
static void usage( const char *name )
@ -79,19 +75,7 @@ main( int argc, char **argv )
return( EXIT_FAILURE );
}
#ifdef HAVE_CONSOLE_H
ccommand( &argv );
cshow( stdout );
if (( fd = open( "lber-test", O_WRONLY|O_CREAT|O_TRUNC|O_BINARY ))
< 0 ) {
perror( "open" );
return( EXIT_FAILURE );
}
#else
fd = fileno(stdout);
#endif
sb = ber_sockbuf_alloc();
ber_sockbuf_add_io( sb, &ber_sockbuf_io_fd, LBER_SBIOD_LEVEL_PROVIDER,