diff options
author | Ed Schouten <ed@80386.nl> | 2011-06-26 09:47:40 +0200 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-06-26 09:30:31 -0700 |
commit | 6675a07badfb688aacbd8fd12ba55e16854ba0ab (patch) | |
tree | f6273113509df62b1224467580af50433a44667c | |
parent | 6b9a2f7bfa823a3dc0befd039ee08ec1596a3c64 (diff) |
Only expose the sflag variable when needed.
The sflag variable is only used when using BSD-style utmp.
Signed-off-by: Ed Schouten <ed@80386.nl>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | sessreg.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -105,9 +105,10 @@ static int utmp_none, wtmp_none; * BSD specific variables. To make life much easier for Xstartup/Xreset * maintainers, these arguments are accepted but ignored for sysV */ -static int hflag, sflag, xflag, tflag; +static int hflag, xflag, tflag; static char *host_name = NULL; #if defined(USE_UTMP) && !defined(HAVE_PUTUTLINE) +static int sflag; static int slot_number; #endif static char *xservers_file, *ttys_file; |