From c47f4ccef36eabbc9ea7c65e2a8e9b2e9814d08a Mon Sep 17 00:00:00 2001 From: ed 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 b4b7516..5ac7971 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.1