aboutsummaryrefslogtreecommitdiff
path: root/src/lib/krb5/krb/t_walk_rtree.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@toad.com>1995-03-18 03:55:46 +0000
committerJohn Gilmore <gnu@toad.com>1995-03-18 03:55:46 +0000
commit5a3f1edbfc02aad85349020d459165eeaa40a848 (patch)
treec1ab3cd737f265e67ad284355f92be8dc2f059f7 /src/lib/krb5/krb/t_walk_rtree.c
parent8bc23e552d28451490eb7b6c214d5ec16fa618ab (diff)
downloadkrb5-5a3f1edbfc02aad85349020d459165eeaa40a848.zip
krb5-5a3f1edbfc02aad85349020d459165eeaa40a848.tar.gz
krb5-5a3f1edbfc02aad85349020d459165eeaa40a848.tar.bz2
* Makefile.in (check-mac): Add.
* compat_recv.c, get_fcreds.c, recvauth.c: Eliminate Unix socket #includes, which are now handled by k5-int.h (via k5-config.h). * conv_princ.c: Rename variable "comp" to another name; "comp" apparently bothers the MPW compiler... * rd_cred.c: Avoid (void) casts of void functions, for MPW. * t_walk_rtree.c: Put com_err.h after k5_int for <sys/types> stuff. (main): Declare and initialize the krb5_context that's being passed to everything. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5164 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/krb/t_walk_rtree.c')
-rw-r--r--src/lib/krb5/krb/t_walk_rtree.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/t_walk_rtree.c b/src/lib/krb5/krb/t_walk_rtree.c
index 419c413..88ca4e1 100644
--- a/src/lib/krb5/krb/t_walk_rtree.c
+++ b/src/lib/krb5/krb/t_walk_rtree.c
@@ -3,8 +3,8 @@
*/
#include <stdio.h>
-#include "com_err.h"
#include "k5-int.h"
+#include "com_err.h"
main(argc, argv)
int argc;
@@ -15,7 +15,9 @@ main(argc, argv)
krb5_principal *tree, *p;
char *name;
krb5_error_code retval;
+ krb5_context context;
+ krb5_init_context(&context);
krb5_init_ets(context);
if (argc < 3 && argc > 4) {