--- libraries/liblber/etest.c 1998/10/24 23:41:55 1.2 +++ libraries/liblber/etest.c 1998/12/31 19:32:05 1.2.2.3 @@ -1,5 +1,9 @@ /* test.c - lber encoding test program */ /* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ +/* Portions * Copyright (c) 1990 Regents of the University of Michigan. * All rights reserved. */ @@ -10,6 +14,7 @@ #include #include +#include #ifdef HAVE_CONSOLE_H #include @@ -22,6 +27,7 @@ static void usage( char *name ) fprintf( stderr, "usage: %s fmtstring\n", name ); } +int main( int argc, char **argv ) { #ifdef notdef @@ -32,7 +38,6 @@ main( int argc, char **argv ) Seqorset *sos = NULLSEQORSET; BerElement *ber; Sockbuf sb; - extern char *optarg; if ( argc < 2 ) { usage( argv[0] );