diff options
Diffstat (limited to 'login')
-rw-r--r-- | login/getlogin_r.c | 4 | ||||
-rw-r--r-- | login/getpt.c | 3 | ||||
-rw-r--r-- | login/login_tty.c | 3 | ||||
-rw-r--r-- | login/setlogin.c | 3 |
4 files changed, 4 insertions, 9 deletions
diff --git a/login/getlogin_r.c b/login/getlogin_r.c index 8848b61..2d9a903 100644 --- a/login/getlogin_r.c +++ b/login/getlogin_r.c @@ -23,9 +23,7 @@ If it cannot be determined or some other error occurred, return the error code. Otherwise return 0. */ int -__getlogin_r (name, name_len) - char *name; - size_t name_len; +__getlogin_r (char *name, size_t name_len) { __set_errno (ENOSYS); return errno; diff --git a/login/getpt.c b/login/getpt.c index a60f01b..bfc712f 100644 --- a/login/getpt.c +++ b/login/getpt.c @@ -31,8 +31,7 @@ weak_alias (__getpt, getpt) /* We cannot define posix_openpt in general for BSD systems. */ int -__posix_openpt (oflag) - int oflag; +__posix_openpt (int oflag) { __set_errno (ENOSYS); return -1; diff --git a/login/login_tty.c b/login/login_tty.c index 2ba276d..a94f5cb 100644 --- a/login/login_tty.c +++ b/login/login_tty.c @@ -39,8 +39,7 @@ static char sccsid[] = "@(#)login_tty.c 8.1 (Berkeley) 6/4/93"; #include <utmp.h> int -login_tty(fd) - int fd; +login_tty (int fd) { (void) setsid(); #ifdef TIOCSCTTY diff --git a/login/setlogin.c b/login/setlogin.c index c07d7cb..40b62a3 100644 --- a/login/setlogin.c +++ b/login/setlogin.c @@ -20,8 +20,7 @@ /* Set the login name returned by `getlogin'. */ int -setlogin (name) - const char *name; +setlogin (const char *name) { __set_errno (ENOSYS); return -1; |