From 88b69f52ee074783e019b5ab2ba0c63e8a3fd2e7 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Thu, 14 Jan 2010 05:35:32 +0000 Subject: Phase out ttyslot(3). The ttyslot() function was originally part for SUSv1, marked LEGACY in SUSv2 and removed later on. This function only makes sense when using utmp(5), because it was used to determine the offset of the record for the controlling TTY. It makes little sense to keep it here, because the new utmpx file format doesn't index based on TTY slots. --- include/unistd.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/unistd.h b/include/unistd.h index b4b7516bc6acc..5ac79718de901 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -574,7 +574,6 @@ int swapon(const char *); int swapoff(const char *); int syscall(int, ...); off_t __syscall(quad_t, ...); -int ttyslot(void); int undelete(const char *); int unwhiteout(const char *); void *valloc(size_t); /* obsoleted by malloc() */ -- cgit v1.3