Tweaks to make it work on Unix.

This commit is contained in:
rsc 2003-10-11 02:45:02 +00:00
parent 079d45c20e
commit 941c9f36a9
6 changed files with 86 additions and 66 deletions

View file

@ -84,6 +84,7 @@ extern Channel *plumbc;
extern Channel *hostc;
extern int hversion;
extern int plumbfd;
extern int hostfd[2];
Rune *gettext(Flayer*, long, ulong*);
void *alloc(ulong n);
@ -175,3 +176,8 @@ void outshort(int);
void outlong(long);
void outvlong(void*);
void outsend(void);
int perror(char*);
int remove(char*);
int create(char*, int, ulong);