summaryrefslogtreecommitdiff
path: root/lib/libc/gen/ttyname.c
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-09-15 09:32:02 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-09-15 09:32:02 +0000
commit5839b84db8fa4a49976868786c93b29df9c4d568 (patch)
treeef3d545e61baa18f319312ada4e97e2c799c24c6 /lib/libc/gen/ttyname.c
parent1d3f47d20a2b64c481a047ce24f39564b3e74533 (diff)
Remove dead code
Remove unused variables Silence some warnings lint(1) is your friend
Diffstat (limited to 'lib/libc/gen/ttyname.c')
-rw-r--r--lib/libc/gen/ttyname.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/ttyname.c b/lib/libc/gen/ttyname.c
index 7fe01255296..1d01f7b6294 100644
--- a/lib/libc/gen/ttyname.c
+++ b/lib/libc/gen/ttyname.c
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: ttyname.c,v 1.2 1996/08/19 08:27:02 tholo Exp $";
+static char rcsid[] = "$OpenBSD: ttyname.c,v 1.3 1996/09/15 09:31:07 tholo Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -85,6 +85,7 @@ ttyname(fd)
return (oldttyname(fd, &sb));
}
+/* ARGSUSED */
static char *
oldttyname(fd, sb)
int fd;