[1111] in Kerberos-V5-bugs
Various clients need to include ext-proto.h
daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Wed Mar 1 13:02:30 1995
From: epeisach@MIT.EDU
Date: Wed, 1 Mar 1995 13:02:14 -0500
To: krb5-bugs@MIT.EDU
Various clients are now not including stdlib.h or string(s).h as needed.
(for definitions of strrchr and malloc).
Including ext-proto.h solves this problem.
The clients are kinit, klist, kdestroy, mailquery
===================================================================
RCS file: /mit/krb5/.cvsroot/src/clients/kdestroy/kdestroy.c,v
retrieving revision 5.12
diff -c -r5.12 kdestroy.c
*** kdestroy.c 1995/02/28 10:12:16 5.12
--- kdestroy.c 1995/03/01 17:47:02
***************
*** 27,32 ****
--- 27,33 ----
#include <stdio.h>
#include "krb5.h"
+ #include "ext-proto.h"
#include "com_err.h"
extern int optind;
===================================================================
RCS file: /mit/krb5/.cvsroot/src/clients/kinit/kinit.c,v
retrieving revision 5.35
diff -c -r5.35 kinit.c
*** kinit.c 1995/02/28 10:12:20 5.35
--- kinit.c 1995/03/01 17:47:35
***************
*** 29,34 ****
--- 29,35 ----
#include <pwd.h>
#include "krb5.h"
+ #include "ext-proto.h"
#define KRB5_DEFAULT_OPTIONS 0
#define KRB5_DEFAULT_LIFE 60*60*8 /* 8 hours */
===================================================================
RCS file: /mit/krb5/.cvsroot/src/clients/klist/klist.c,v
retrieving revision 5.21
diff -c -r5.21 klist.c
*** klist.c 1995/02/28 10:12:24 5.21
--- klist.c 1995/03/01 17:47:55
***************
*** 27,32 ****
--- 27,33 ----
#include <stdio.h>
#include "krb5.h"
#include "com_err.h"
+ #include "ext-proto.h"
#include <time.h>
extern int optind;
===================================================================
RCS file: /mit/krb5/.cvsroot/src/appl/mailquery/poplib.c,v
retrieving revision 1.9
diff -c -r1.9 poplib.c
*** poplib.c 1995/02/28 09:53:16 1.9
--- poplib.c 1995/03/01 17:56:07
***************
*** 38,43 ****
--- 38,44 ----
#endif
#ifdef KRB5
#include "krb5.h"
+ #include "ext-proto.h"
#include "com_err.h"
#include <ctype.h>
#endif