aboutsummaryrefslogtreecommitdiff
path: root/bin/date/date.c
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2010-01-13 17:56:54 +0000
committerEd Schouten <ed@FreeBSD.org>2010-01-13 17:56:54 +0000
commit759dba8c5a92bcc1b9335e0a13e3ac23ed80bc1a (patch)
tree7c6cb6ab13aa9dd8e121913d20f77bf933b35439 /bin/date/date.c
parentadc17f0a4243aa894abe084afcd19cd529be2819 (diff)
downloadsrc-759dba8c5a92bcc1b9335e0a13e3ac23ed80bc1a.tar.gz
src-759dba8c5a92bcc1b9335e0a13e3ac23ed80bc1a.zip
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>
Notes
Notes: svn path=/head/; revision=202193
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 c980b99d3d2a..1e9f281bc8a7 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"