aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/wall
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2010-01-13 18:09:54 +0000
committerEd Schouten <ed@FreeBSD.org>2010-01-13 18:09:54 +0000
commitab90a4d1e240b52309d6efd0e0856a7b6b3c6bab (patch)
tree66d7905a7dddba5593f48b0defbadd5033878357 /usr.bin/wall
parent1131779fb3dd85440f7bbcace8727edb37d9b664 (diff)
downloadsrc-ab90a4d1e240b52309d6efd0e0856a7b6b3c6bab.tar.gz
src-ab90a4d1e240b52309d6efd0e0856a7b6b3c6bab.zip
Perform all trivial ports to utmpx for usr.bin/.
They were already converted to use libulog, so it's easy to convert them to utmpx.
Notes
Notes: svn path=/head/; revision=202200
Diffstat (limited to 'usr.bin/wall')
-rw-r--r--usr.bin/wall/Makefile3
-rw-r--r--usr.bin/wall/wall.c3
2 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/wall/Makefile b/usr.bin/wall/Makefile
index 5f0230f8f15d..c5deb3bc408c 100644
--- a/usr.bin/wall/Makefile
+++ b/usr.bin/wall/Makefile
@@ -6,7 +6,4 @@ SRCS= ttymsg.c wall.c
BINGRP= tty
BINMODE=2555
-DPADD= ${LIBULOG}
-LDADD= -lulog
-
.include <bsd.prog.mk>
diff --git a/usr.bin/wall/wall.c b/usr.bin/wall/wall.c
index 9bf80762da3a..b92edd445230 100644
--- a/usr.bin/wall/wall.c
+++ b/usr.bin/wall/wall.c
@@ -64,9 +64,8 @@ static const char sccsid[] = "@(#)wall.c 8.2 (Berkeley) 11/16/93";
#include <stdlib.h>
#include <string.h>
#include <time.h>
-#define _ULOG_POSIX_NAMES
-#include <ulog.h>
#include <unistd.h>
+#include <utmpx.h>
#include "ttymsg.h"