diff options
author | ed <ed@FreeBSD.org> | 2010-01-13 17:56:54 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-01-13 17:56:54 +0000 |
commit | 41d3ef12588da7a97389a26cf928312aac1f68eb (patch) | |
tree | 7c6cb6ab13aa9dd8e121913d20f77bf933b35439 /bin/date/date.c | |
parent | e1ca65924212b3501520240cf3028c1ba9aec1b7 (diff) | |
download | FreeBSD-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.c | 3 |
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" |