Fix portability issues
Signed-off-by: Masanori Ogino <mogino@acm.org>
This commit is contained in:
parent
0a67b18647
commit
109af13829
5 changed files with 8 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue