Convert K&R definitions to ANSI C
This commit is contained in:
parent
787febbd07
commit
a2161ba1b0
45 changed files with 521 additions and 1073 deletions
|
|
@ -37,8 +37,7 @@ static char* getttys();
|
|||
static char* ttys = "/etc/ttys";
|
||||
|
||||
#define NULL 0
|
||||
|
||||
nmttyslot(name) char* name;
|
||||
int nmttyslot(char * name)
|
||||
{
|
||||
char *tp, *p;
|
||||
int s, tf;
|
||||
|
|
@ -63,9 +62,7 @@ nmttyslot(name) char* name;
|
|||
return (0);
|
||||
}
|
||||
|
||||
static char*
|
||||
getttys(f)
|
||||
int f;
|
||||
static char* getttys(int f)
|
||||
{
|
||||
static char line[LINESIZE];
|
||||
char* lp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue