+1999-08-25 Ken Raeburn <raeburn@mit.edu>
+
+ * kinit.c (optind, optarg) [sun]: Declare on SunOS 4. Maybe
+ declare unconditionally, in the future.
+
+1999-08-12 Ken Raeburn <raeburn@mit.edu>
+
+ * kinit.c (main): Initialize cache_name to null, in case it's not
+ set.
+
1999-08-09 Danilo Almeida <dalmeida@mit.edu>
* Makefile.in: Use standard windows exe link flags.
#else
#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#ifdef sun
+/* SunOS4 unistd didn't declare these; okay to make unconditional? */
+extern int optind;
+extern char *optarg;
+#endif /* sun */
#else
extern int optind;
extern char *optarg;
krb5_get_init_creds_opt opts;
char *service_name = NULL;
krb5_keytab keytab = NULL;
- char *cache_name;
+ char *cache_name = NULL;
krb5_ccache ccache = NULL;
enum { INIT_PW, INIT_KT, RENEW, VALIDATE} action;
int errflg = 0, idx, i;