Fix portability issues

Signed-off-by: Masanori Ogino <mogino@acm.org>
This commit is contained in:
Jörg Sonnenberger 2009-10-06 17:41:49 +00:00 • committed by Masanori Ogino
commit 109af13829
5 changed files with 8 additions and 10 deletions

View file

@ -40,14 +40,13 @@
#include <string.h>
#include <unistd.h>
char *ttyname();
char *getttys();
char *strrchr();
static char *getttys();
static char *ttys = "/etc/ttys";
#define NULL 0