summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/ttyslot.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/ttyslot.c')
-rw-r--r--lib/libc/gen/ttyslot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/ttyslot.c b/lib/libc/gen/ttyslot.c
index 9170f247f10..9cd98810919 100644
--- a/lib/libc/gen/ttyslot.c
+++ b/lib/libc/gen/ttyslot.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: ttyslot.c,v 1.4 2003/06/02 20:18:35 millert Exp $";
+static char rcsid[] = "$OpenBSD: ttyslot.c,v 1.5 2004/05/18 02:05:52 jfb Exp $";
#endif /* LIBC_SCCS and not lint */
#include <ttyent.h>
@@ -37,7 +37,7 @@ static char rcsid[] = "$OpenBSD: ttyslot.c,v 1.4 2003/06/02 20:18:35 millert Exp
#include <unistd.h>
int
-ttyslot()
+ttyslot(void)
{
register struct ttyent *ttyp;
register int slot;