summaryrefslogtreecommitdiffstats
path: root/usr.bin/finger/extern.h
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-12-28 20:54:34 +0000
committered <ed@FreeBSD.org>2009-12-28 20:54:34 +0000
commit5bf232465b8e0def3c04c6e47745b969162463fe (patch)
tree572b8cc48e0e4fce2e62ea0eb3f0cf8dc6028a53 /usr.bin/finger/extern.h
parentf60568ce2e9a52bcb63e2ad46f8bc34bf16b6273 (diff)
downloadFreeBSD-src-5bf232465b8e0def3c04c6e47745b969162463fe.zip
FreeBSD-src-5bf232465b8e0def3c04c6e47745b969162463fe.tar.gz
Migrate finger(1) away from <utmp.h>.
Unfortunately it also uses lastlog, which means we must resort to local extensions of the utmpx-interface. Because the user name and TTY name are now nul-terminated, there is no need to copy around strings as often.
Diffstat (limited to 'usr.bin/finger/extern.h')
-rw-r--r--usr.bin/finger/extern.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/finger/extern.h b/usr.bin/finger/extern.h
index 498c296..0014b74 100644
--- a/usr.bin/finger/extern.h
+++ b/usr.bin/finger/extern.h
@@ -51,8 +51,8 @@ extern int invoker_root; /* Invoked by root */
void enter_lastlog(PERSON *);
PERSON *enter_person(struct passwd *);
-void enter_where(struct utmp *, PERSON *);
-PERSON *find_person(const char *);
+void enter_where(struct utmpx *, PERSON *);
+PERSON *find_person(char *);
int hide(struct passwd *);
void lflag_print(void);
int match(struct passwd *, const char *);
OpenPOWER on IntegriCloud