summaryrefslogtreecommitdiffstats
path: root/src/clients
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-05-23 15:18:47 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-05-23 15:18:47 +0000
commitc976d091184ed4a5b56dbbd82147a8e71e9b1aec (patch)
tree15cea1ae163f7d287c11141d8aff9e95def41759 /src/clients
parent4878464009f1a66a8d2f7ac72b6e2df759469df5 (diff)
downloadkrb5-c976d091184ed4a5b56dbbd82147a8e71e9b1aec.tar.gz
krb5-c976d091184ed4a5b56dbbd82147a8e71e9b1aec.tar.xz
krb5-c976d091184ed4a5b56dbbd82147a8e71e9b1aec.zip
fix include files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@926 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/clients')
-rw-r--r--src/clients/kdestroy/kdestroy.c7
-rw-r--r--src/clients/klist/klist.c5
2 files changed, 3 insertions, 9 deletions
diff --git a/src/clients/kdestroy/kdestroy.c b/src/clients/kdestroy/kdestroy.c
index 9f69a2594..e57f0db08 100644
--- a/src/clients/kdestroy/kdestroy.c
+++ b/src/clients/kdestroy/kdestroy.c
@@ -5,7 +5,7 @@
* Copyright 1990 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see the file
- * <krb5/mit-copyright.h>.
+ * <krb5/copyright.h>.
*
* Destroy the contents of your credential cache.
*/
@@ -19,8 +19,6 @@ static char rcsid_klist_c [] =
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
-#include <krb5/isode_err.h>
#include <krb5/ext-proto.h>
#include <com_err.h>
@@ -39,8 +37,7 @@ main(argc, argv)
int code;
int errflg=0;
- initialize_krb5_error_table();
- initialize_isod_error_table();
+ krb5_init_ets();
if (rindex(argv[0], '/'))
argv[0] = rindex(argv[0], '/')+1;
diff --git a/src/clients/klist/klist.c b/src/clients/klist/klist.c
index 6b3ab3a0e..a752c61fe 100644
--- a/src/clients/klist/klist.c
+++ b/src/clients/klist/klist.c
@@ -5,7 +5,7 @@
* Copyright 1990 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see the file
- * <krb5/mit-copyright.h>.
+ * <krb5/copyright.h>.
*
* List out the contents of your credential cache.
*/
@@ -19,11 +19,8 @@ static char rcsid_klist_c [] =
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
-#include <krb5/isode_err.h>
#include <krb5/ext-proto.h>
#include <com_err.h>
-#include <errno.h>
extern int optind;
extern char *optarg;