(handleintr): Move to main.c. Internal linkage. Remove empty

handle.c
(interrupt): Internal linkage.

(interrupt): Use proper type for access from signal handler.
(intr): Don't increment to set, it's unobvious and it could overflow.
This commit is contained in:
Markus Armbruster 2005-12-28 16:16:41 +00:00
parent 5c02a0aefc
commit 87ace6afe4
3 changed files with 18 additions and 62 deletions

View file

@ -51,7 +51,6 @@ struct ioqueue;
extern char empirehost[];
extern char empireport[];
extern int eight_bit_clean;
extern int interrupt;
extern char num_teles[];
extern int sock;
extern char *SO;
@ -74,7 +73,6 @@ void putse(void);
#endif
int recvline(int s, char *buf);
int expect(int s, int match, char *buf);
int handleintr(int);
int hostaddr(char *name, struct sockaddr_in *addr);
int hostconnect(struct sockaddr_in *addr);
int hostport(char *name, struct sockaddr_in *addr);