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, 3 insertions, 1 deletions
diff --git a/lib/libc/gen/ttyslot.c b/lib/libc/gen/ttyslot.c
index 31cc156..b2fac7c 100644
--- a/lib/libc/gen/ttyslot.c
+++ b/lib/libc/gen/ttyslot.c
@@ -40,7 +40,7 @@ __FBSDID("$FreeBSD$");
#include <unistd.h>
int
-ttyslot()
+__ttyslot(void)
{
struct ttyent *ttyp;
int slot;
@@ -63,3 +63,5 @@ ttyslot()
endttyent();
return(0);
}
+
+__sym_compat(ttyslot, __ttyslot, FBSD_1.0);
OpenPOWER on IntegriCloud