summaryrefslogtreecommitdiffstats
path: root/hack/hack.ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'hack/hack.ioctl.c')
-rw-r--r--hack/hack.ioctl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/hack/hack.ioctl.c b/hack/hack.ioctl.c
index ebf2ae8c..95bb7b9b 100644
--- a/hack/hack.ioctl.c
+++ b/hack/hack.ioctl.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hack.ioctl.c,v 1.7 2003/04/02 18:36:37 jsm Exp $ */
+/* $NetBSD: hack.ioctl.c,v 1.8 2009/06/07 18:30:39 dholland Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -63,7 +63,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hack.ioctl.c,v 1.7 2003/04/02 18:36:37 jsm Exp $");
+__RCSID("$NetBSD: hack.ioctl.c,v 1.8 2009/06/07 18:30:39 dholland Exp $");
#endif /* not lint */
/*
@@ -77,13 +77,13 @@ __RCSID("$NetBSD: hack.ioctl.c,v 1.7 2003/04/02 18:36:37 jsm Exp $");
struct termios termios;
void
-getioctls()
+getioctls(void)
{
(void) tcgetattr(fileno(stdin), &termios);
}
void
-setioctls()
+setioctls(void)
{
(void) tcsetattr(fileno(stdin), TCSADRAIN, &termios);
}
@@ -91,7 +91,7 @@ setioctls()
#ifdef SUSPEND /* implies BSD */
#include <signal.h>
int
-dosuspend()
+dosuspend(void)
{
#ifdef SIGTSTP
if (signal(SIGTSTP, SIG_IGN) == SIG_DFL) {