From: nekral-guest Date: Sat, 22 Nov 2008 23:56:51 +0000 (+0000) Subject: * libmisc/chowntty.c, src/login.c, lib/prototypes.h: Remove the X-Git-Tag: 4.1.3~145 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b290e7abb78e948056917f4f02c5d0a2178f237;p=shadow * 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. --- 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 *);