+2001-06-04 Ezra Peisach <epeisach@mit.edu>
+
+ * krlogin.c: Always provide prototype for setsignal and not if
+ __STDC__ is defined.
+
2001-06-01 Ezra Peisach <epeisach@mit.edu>
* login.c: Add braces around initializers. Cleanup assignments in
int server_message KRB5_PROTOTYPE((int));
void oob KRB5_PROTOTYPE((void));
krb5_sigtype lostpeer KRB5_PROTOTYPE((int));
-#if __STDC__
-void setsignal(int sig, krb5_sigtype (*act)());
-#endif
+void setsignal KRB5_PROTOTYPE((int sig, krb5_sigtype (*act)()));
static int read_wrapper(int fd, char *buf, int size, int *got_esc);
void try_normal(char **);
static void mode(int);
static int reader(int);
static void doit(int);
#endif
-static int control(unsigned char *, int);
+static int control(char *, int);
static void sendwindow(void);
static void stop(int), echo(int);
static void writer(void), done(int);
client. */
static int control(cp, n)
- unsigned char *cp;
+ char *cp;
int n;
{
if ((n >= 5) && (cp[2] == 'o') && (cp[3] == 'o')) {