diff options
Diffstat (limited to 'login')
-rw-r--r-- | login/getpt.c | 2 | ||||
-rw-r--r-- | login/tst-utmp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/login/getpt.c b/login/getpt.c index d36e83684e..813e7acd10 100644 --- a/login/getpt.c +++ b/login/getpt.c @@ -22,7 +22,7 @@ /* Open the master side of a pseudoterminal and return its file descriptor, or -1 on error. */ int -__getpt () +__getpt (void) { __set_errno (ENOSYS); return -1; diff --git a/login/tst-utmp.c b/login/tst-utmp.c index 573d4a92c1..a61b54305e 100644 --- a/login/tst-utmp.c +++ b/login/tst-utmp.c @@ -395,7 +395,7 @@ do_test (int argc, char *argv[]) /* No field 'ut_type' in struct utmp. */ int -main () +main (void) { return 0; } |