From 2b290e7abb78e948056917f4f02c5d0a2178f237 Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Sat, 22 Nov 2008 23:56:51 +0000 Subject: [PATCH] * libmisc/chowntty.c, src/login.c, lib/prototypes.h: Remove the tty argument from chown_tty. chown_tty always changes stdin and does not need this argument anymore. --- lib/prototypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/prototypes.h b/lib/prototypes.h index 945da008..1e77bb2c 100644 --- a/lib/prototypes.h +++ b/lib/prototypes.h @@ -76,7 +76,7 @@ extern char *Basename (char *str); extern int chown_tree (const char *, uid_t, uid_t, gid_t, gid_t); /* chowntty.c */ -extern void chown_tty (const char *, const struct passwd *); +extern void chown_tty (const struct passwd *); /* console.c */ extern bool console (const char *);