about summary refs log tree commit diff
path: root/login/getpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'login/getpt.c')
-rw-r--r--login/getpt.c2
1 files changed, 1 insertions, 1 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;