diff --git a/distrib/sets/lists/comp/mi b/distrib/sets/lists/comp/mi index 5117033ac933..549e60f118de 100644 --- a/distrib/sets/lists/comp/mi +++ b/distrib/sets/lists/comp/mi @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.159 1999/09/13 18:45:27 kleink Exp $ +# $NetBSD: mi,v 1.160 1999/09/15 12:35:38 hubertf Exp $ ./sys ./usr/bin/ar ./usr/bin/as @@ -3533,7 +3533,6 @@ ./usr/share/man/man8/pvctxctl.8 ./usr/share/man/man8/rtsold.8 ./usr/share/man/man8/wiconfig.8 -./usr/share/misc/getopt ./usr/share/misc/indent.pro ./usr/share/misc/menu_sys.def ./usr/share/misc/msg_sys.def diff --git a/share/misc/getopt b/share/misc/getopt deleted file mode 100644 index 1edce837c8ab..000000000000 --- a/share/misc/getopt +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Main/getopt(3) fragment. - * - * $NetBSD: getopt,v 1.5 1997/11/01 06:23:38 lukem Exp $ - * @(#)getopt 5.3 (Berkeley) 3/28/94 - */ - -#include - -#include - -void usage __P((void)); - -int -main(argc, argv) - int argc; - char *argv[]; -{ - int ch; - - while ((ch = getopt(argc, argv, "")) != -1) - switch (ch) { - case '': - break; - case '?': - default: - usage(); - } - argc -= optind; - argv += optind; -} - -void -usage() -{ - (void)fprintf(stderr, "usage: program [-abc] [-f file]\n"); - exit(1); -}