summaryrefslogtreecommitdiffstats
path: root/bin/date/date.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-01-13 17:56:54 +0000
committered <ed@FreeBSD.org>2010-01-13 17:56:54 +0000
commit41d3ef12588da7a97389a26cf928312aac1f68eb (patch)
tree7c6cb6ab13aa9dd8e121913d20f77bf933b35439 /bin/date/date.c
parente1ca65924212b3501520240cf3028c1ba9aec1b7 (diff)
downloadFreeBSD-src-41d3ef12588da7a97389a26cf928312aac1f68eb.zip
FreeBSD-src-41d3ef12588da7a97389a26cf928312aac1f68eb.tar.gz
Port everything in bin/ from utmp to utmpx.
date: use libc utmpx routines instead of the ones provided by libulog. pax: don't depend on <utmp.h>
Diffstat (limited to 'bin/date/date.c')
-rw-r--r--bin/date/date.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/date/date.c b/bin/date/date.c
index c980b99..1e9f281 100644
--- a/bin/date/date.c
+++ b/bin/date/date.c
@@ -52,9 +52,8 @@ __FBSDID("$FreeBSD$");
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
-#define _ULOG_POSIX_NAMES
-#include <ulog.h>
#include <unistd.h>
+#include <utmpx.h>
#include "extern.h"
#include "vary.h"
OpenPOWER on IntegriCloud