prototype/getopt.c hasn't been updated in quite some time and we don't
authorGreg Hudson <ghudson@mit.edu>
Tue, 8 Mar 2011 17:22:20 +0000 (17:22 +0000)
committerGreg Hudson <ghudson@mit.edu>
Tue, 8 Mar 2011 17:22:20 +0000 (17:22 +0000)
really need it.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24691 dc483132-0cff-0310-8789-dd5450dbe970

src/prototype/getopt.c [deleted file]

diff --git a/src/prototype/getopt.c b/src/prototype/getopt.c
deleted file mode 100644 (file)
index 6c47c4f..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-
-extern int optind;
-extern char *optarg;
-
-main(argc, argv)
-int argc;
-char **argv;
-{
-    int c;
-    int errflg = 0;
-
-    <<<other globals here>>>;
-
-    while ((c = getopt(argc, argv, "<<<>>>")) != -1) {
-        switch (c) {
-            <<<add cases for arguments here>>>;
-        case '?':
-        default:
-            errflg++;
-            break;
-        }
-    }
-    if (errflg) {
-        fprintf(stderr, "Usage: %s <<<args>>>", argv[0]);
-        exit(2);
-    }
-    for (; optind < argc; optind++) {
-        <<<process arg optind>>>;
-    }
-}