diff --git a/sj3/nmttyslot.c b/sj3/nmttyslot.c index 5aaa172..7429962 100644 --- a/sj3/nmttyslot.c +++ b/sj3/nmttyslot.c @@ -40,14 +40,13 @@ +#include +#include - -char *ttyname(); -char *getttys(); -char *strrchr(); +static char *getttys(); static char *ttys = "/etc/ttys"; #define NULL 0 diff --git a/sj3dic/codecnv.c b/sj3dic/codecnv.c index a7a0f04..968e980 100644 --- a/sj3dic/codecnv.c +++ b/sj3dic/codecnv.c @@ -35,7 +35,7 @@ - +#include #include #include #include diff --git a/sj3dic/dictdisp.c b/sj3dic/dictdisp.c index 5d5455d..cc97b70 100644 --- a/sj3dic/dictdisp.c +++ b/sj3dic/dictdisp.c @@ -35,7 +35,7 @@ - +#include #include #include diff --git a/sj3dic/sjrc.c b/sj3dic/sjrc.c index 438cfb0..492890c 100644 --- a/sj3dic/sjrc.c +++ b/sj3dic/sjrc.c @@ -36,7 +36,7 @@ - +#include #include #include #include @@ -108,9 +108,8 @@ sjset_code() getsjrc () { - FILE *fd, *fopen(); + FILE *fd; register char *p; - char *getenv(); sjset_code(); RCfile[0] = '\0'; diff --git a/sj3rkcv/sj3_rkcv.c b/sj3rkcv/sj3_rkcv.c index b5a8374..8459032 100644 --- a/sj3rkcv/sj3_rkcv.c +++ b/sj3rkcv/sj3_rkcv.c @@ -33,7 +33,7 @@ * $SonyDate: 1995/02/10 06:02:25 $ */ - +#include #include "wchar16.h" #include "sj.h"