* kcmd.c (k4cmd): Fix to not use a narrow type.
* krlogin.c: Fix prototypes so they don't include narrow types.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13240
dc483132-0cff-0310-8789-
dd5450dbe970
+2001-05-10 Tom Yu <tlyu@mit.edu>
+
+ * defines.h: Fix k4cmd prototype to match kcmd.c.
+
+ * kcmd.c (k4cmd): Fix to not use a narrow type.
+
+ * krlogin.c: Fix prototypes so they don't include narrow types.
+
2001-04-26 Ken Raeburn <raeburn@mit.edu>
* configure.in: Don't use KRB5_CHECK_PROTOS.
#if defined(KRB5_KRB4_COMPAT) && !defined(SKIP_V4_PROTO)
extern void rcmd_stream_init_krb4(C_Block, int, int, int);
-extern int k4cmd(int *sock, char **ahost, u_short rport, char *locuser,
+extern int k4cmd(int *sock, char **ahost, unsigned int rport,
+ char *locuser,
char *remuser, char *cmd, int *fd2p, KTEXT ticket,
char *service, char *realm, CREDENTIALS *cred,
Key_schedule schedule, MSG_DAT *msg_data,
cred, schedule, msg_data, laddr, faddr, authopts, anyport)
int *sock;
char **ahost;
- u_short rport;
+ unsigned int rport;
char *locuser, *remuser, *cmd;
int *fd2p;
KTEXT ticket;
#endif
static int control(unsigned char *, int);
static void sendwindow(void);
-static void stop(char), echo(char);
+static void stop(int), echo(int);
static void writer(void), done(int);
static int confirm_death (void);
-void done(status)
+static void
+done(status)
int status;
{
#ifdef POSIX_SIGNALS