summaryrefslogtreecommitdiffstats
path: root/lib/libutil/logwtmp.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-01-01 08:27:41 +0000
committerpeter <peter@FreeBSD.org>1996-01-01 08:27:41 +0000
commit42bbbd28614c699542553f24fb84264a5130e8e7 (patch)
treeaac25102c388712f99b4b8c8c49d800d87028e5a /lib/libutil/logwtmp.c
parentcaa7284440e2e3d7c0e61a6365754b0094120761 (diff)
downloadFreeBSD-src-42bbbd28614c699542553f24fb84264a5130e8e7.zip
FreeBSD-src-42bbbd28614c699542553f24fb84264a5130e8e7.tar.gz
Bump libutil revision after recent addition of setproctitle().
Install (optional) libutil.h with prototypes for the functions and document this in the man page. minor cleanups to the various routines, include the prototype file, declare return codes etc.
Diffstat (limited to 'lib/libutil/logwtmp.c')
-rw-r--r--lib/libutil/logwtmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libutil/logwtmp.c b/lib/libutil/logwtmp.c
index d55ac9e..f4a6408 100644
--- a/lib/libutil/logwtmp.c
+++ b/lib/libutil/logwtmp.c
@@ -42,7 +42,9 @@ static char sccsid[] = "@(#)logwtmp.c 8.1 (Berkeley) 6/4/93";
#include <unistd.h>
#include <utmp.h>
+#include <libutil.h>
+void
logwtmp(line, name, host)
char *line, *name, *host;
{
OpenPOWER on IntegriCloud