diff options
author | Amadeusz Sławiński (amade) <amade@asmblr.net> | 2011-01-08 22:02:34 +0100 |
---|---|---|
committer | Amadeusz Sławiński <amade@asmblr.net> | 2014-07-24 11:50:45 +0200 |
commit | 5aacb824a4ef3cea1575b93190bd4918ebe3d728 (patch) | |
tree | 9ccc59229295427296e5e4f555fb91d3099a3b70 /src/utmp.c | |
parent | 91761935d06d382d25e004a236b23a5106016c5f (diff) | |
download | screen-5aacb824a4ef3cea1575b93190bd4918ebe3d728.tar.gz |
move extern's into one place
Diffstat (limited to 'src/utmp.c')
-rw-r--r-- | src/utmp.c | 24 |
1 files changed, 0 insertions, 24 deletions
@@ -39,15 +39,6 @@ #endif -extern struct display *display; -#ifdef CAREFULUTMP -extern struct win *windows; -#endif -extern struct win *fore; -extern char *LoginName; -extern int real_uid, eff_uid; - - /* * UTNOKEEP: A (ugly) hack for apollo that does two things: * 1) Always close and reopen the utmp file descriptor. (I don't know @@ -106,21 +97,6 @@ static char UtmpName[] = UTMPFILE; static int utmpfd = -1; #endif - -# if defined(GETUTENT) && (!defined(SVR4) || defined(__hpux)) && ! defined(__CYGWIN__) -# if defined(hpux) /* cruel hpux release 8.0 */ -# define pututline _pututline -# endif /* hpux */ -extern struct utmp *getutline(), *pututline(); -# if defined(_SEQUENT_) -extern struct utmp *ut_add_user(), *ut_delete_user(); -extern char *ut_find_host(); -# ifndef UTHOST -# define UTHOST /* _SEQUENT_ has ut_find_host() */ -# endif -# endif /* _SEQUENT_ */ -# endif /* GETUTENT && !SVR4 */ - # if !defined(GETUTENT) && !defined(UT_UNSORTED) # ifdef GETTTYENT # include <ttyent.h> |