From: John Kohl Date: Tue, 1 May 1990 17:13:21 +0000 (+0000) Subject: add include files, error tables, etc X-Git-Tag: krb5-1.0-alpha2~739 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7e6b89a0132029d01743e0984cebb5d699b04fec;p=krb5.git add include files, error tables, etc git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@657 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/clients/kdestroy/kdestroy.c b/src/clients/kdestroy/kdestroy.c index 3e9e801c2..9f69a2594 100644 --- a/src/clients/kdestroy/kdestroy.c +++ b/src/clients/kdestroy/kdestroy.c @@ -19,10 +19,16 @@ static char rcsid_klist_c [] = #include #include +#include +#include +#include + +#include extern int optind; extern char *optarg; +void main(argc, argv) int argc; char **argv; @@ -34,7 +40,11 @@ main(argc, argv) int errflg=0; initialize_krb5_error_table(); - + initialize_isod_error_table(); + + if (rindex(argv[0], '/')) + argv[0] = rindex(argv[0], '/')+1; + while ((c = getopt(argc, argv, "c:")) != EOF) { switch (c) { case 'c':