about summary refs log tree commit diff
path: root/misc/getttyent.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/getttyent.c')
-rw-r--r--misc/getttyent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/getttyent.c b/misc/getttyent.c
index 18944e2b99..864f65f523 100644
--- a/misc/getttyent.c
+++ b/misc/getttyent.c
@@ -61,7 +61,7 @@ static char *skip (char *) __THROW internal_function;
 static char *value (char *) __THROW internal_function;
 
 struct ttyent *
-getttyent()
+getttyent (void)
 {
 	static struct ttyent tty;
 	int c;
@@ -184,7 +184,7 @@ value(p)
 }
 
 int
-setttyent()
+setttyent (void)
 {
 
 	if (tf) {
@@ -200,7 +200,7 @@ setttyent()
 libc_hidden_def (setttyent)
 
 int
-endttyent()
+endttyent (void)
 {
 	int rval;