(num_teles, redir_fp, pipe_fp, exec_fd, sendeof, prompt, command)

(ac_intercept, all_missiles, ac_planedamage, ac_doflak, ac_landflak)
(ac_shipflak, ac_fireflak, can_fly, do_evade, att_calcodds)
(emp_setbitmap, lnd_hit_mine, conditions, get_wp, daemonize): Internal
linkage.
This commit is contained in:
Markus Armbruster 2006-05-20 13:54:45 +00:00
parent aac6312c74
commit 2ae6be9af6
18 changed files with 41 additions and 44 deletions

View file

@ -50,7 +50,6 @@ struct ioqueue;
extern char empirehost[];
extern char empireport[];
extern int eight_bit_clean;
extern char num_teles[];
extern int sock;
extern char *SO;
extern char *SE;
@ -76,7 +75,6 @@ int tcp_connect(char *, char *);
int login(int s, char *uname, char *cname, char *cpass, int kill_proc, int);
void saveargv(int ac, char **src, char **dst);
void sendcmd(int s, char *cmd, char *arg);
int sendeof(int sock);
void servercmd(struct ioqueue *ioq, FILE *auxfi);
int serverio(int s, struct ioqueue *ioq);
int termio(int fd, int sock, FILE *auxfi);

View file

@ -52,14 +52,14 @@
#include <io.h>
#endif
char num_teles[64];
static char num_teles[64];
static char the_prompt[1024];
static int mode;
static int nbtu;
static int nmin;
FILE *redir_fp;
FILE *pipe_fp;
int exec_fd;
static FILE *redir_fp;
static FILE *pipe_fp;
static int exec_fd;
static void prompt(FILE *auxfi);
static void doredir(char *p);

View file

@ -45,6 +45,8 @@
#include "misc.h"
#include "tags.h"
static int sendeof(int sock);
int
termio(int fd, int sock, FILE *auxfi)
{
@ -243,7 +245,7 @@ termio(int fd, int sock, FILE *auxfi)
return 1;
}
int
static int
sendeof(int sock)
{
#ifndef _WIN32