Wed Jul 5 20:03:37 1995 Theodore Y. Ts'o (tytso@dcl)
+ * krcp.c, krlogin.c, krlogind.c, krshd.c, login.c: Remove
+ declaration of errno altoghether. "extern int errno;" is
+ always wrong.
+
* login.c (main): Don't use the TIOCLSET ioctl unless we're not
using POSIX_TERMIOS. Don't just blindly set the file
status flags to 0. Instead, do a fcntl(0, F_GETFL), and
char *colon();
int errs;
krb5_sigtype lostconn();
-extern int errno;
#ifdef NEED_SYS_ERRLIST
extern char *sys_errlist[];
#endif
"600", "1200", "1800", "2400", "4800", "9600", "19200", "38400" };
#endif
char term[256] = "network";
-extern int errno;
#ifndef POSIX_SIGNALS
#ifndef sigmask
char rhost_name[128];
krb5_principal client;
-extern int errno;
int reapchild();
char *progname;
char *makejtmp(uid, gid, jid)
register int uid, gid, jid;
{
- extern int errno;
-
register char *endc, *tdp = &tmpdir[strlen(tmpdir)];
register int i;
};
#endif
-extern int errno;
-
#ifdef KRB4
#define KRB_ENVIRON "KRBTKFILE" /* Ticket file environment variable */
#define KRB_TK_DIR "/tmp/tkt_" /* Where to put the ticket */