aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2010-01-13 18:17:53 +0000
committerEd Schouten <ed@FreeBSD.org>2010-01-13 18:17:53 +0000
commitb5810e9449971dd6d8ad2a130fbe855ca16c0a81 (patch)
tree10b814541a563afa6b8b679658d5f3d3d04162dc
parentb5207b31c413db2a3a234360d55ad80d8e8f0526 (diff)
Notes
-rw-r--r--usr.sbin/bsnmpd/modules/snmp_hostres/Makefile4
-rw-r--r--usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c3
-rw-r--r--usr.sbin/rwhod/Makefile3
-rw-r--r--usr.sbin/rwhod/rwhod.c3
-rw-r--r--usr.sbin/syslogd/Makefile4
-rw-r--r--usr.sbin/syslogd/syslogd.c3
6 files changed, 7 insertions, 13 deletions
diff --git a/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile b/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile
index 3e9e05f37e8d5..2922f45aa8b11 100644
--- a/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile
+++ b/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile
@@ -69,8 +69,8 @@ MAN= snmp_hostres.3
DEFS= ${MOD}_tree.def
BMIBS= BEGEMOT-HOSTRES-MIB.txt
-DPADD= ${LIBKVM} ${LIBDEVINFO} ${LIBM} ${LIBGEOM} ${LIBMEMSTAT} ${LIBULOG}
-LDADD= -lkvm -ldevinfo -lm -lgeom -lmemstat -lulog
+DPADD= ${LIBKVM} ${LIBDEVINFO} ${LIBM} ${LIBGEOM} ${LIBMEMSTAT}
+LDADD= -lkvm -ldevinfo -lm -lgeom -lmemstat
.include <bsd.snmpmod.mk>
diff --git a/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c b/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c
index 8cf648b52a12b..f86334ecfc709 100644
--- a/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c
+++ b/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c
@@ -41,8 +41,7 @@
#include <stdint.h>
#include <string.h>
#include <syslog.h>
-#define _ULOG_POSIX_NAMES
-#include <ulog.h>
+#include <utmpx.h>
#include "hostres_snmp.h"
#include "hostres_oid.h"
diff --git a/usr.sbin/rwhod/Makefile b/usr.sbin/rwhod/Makefile
index 439a11c932be8..f1b5d997597ca 100644
--- a/usr.sbin/rwhod/Makefile
+++ b/usr.sbin/rwhod/Makefile
@@ -6,7 +6,4 @@ MAN= rwhod.8
WARNS?= 3
-DPADD= ${LIBULOG}
-LDADD= -lulog
-
.include <bsd.prog.mk>
diff --git a/usr.sbin/rwhod/rwhod.c b/usr.sbin/rwhod/rwhod.c
index 9679faed4021a..6b638439a5c5a 100644
--- a/usr.sbin/rwhod/rwhod.c
+++ b/usr.sbin/rwhod/rwhod.c
@@ -67,9 +67,8 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <syslog.h>
#include <timeconv.h>
-#define _ULOG_POSIX_NAMES
-#include <ulog.h>
#include <unistd.h>
+#include <utmpx.h>
#include <pwd.h>
#include <grp.h>
diff --git a/usr.sbin/syslogd/Makefile b/usr.sbin/syslogd/Makefile
index e5c823cfceaa4..1682b499de056 100644
--- a/usr.sbin/syslogd/Makefile
+++ b/usr.sbin/syslogd/Makefile
@@ -9,8 +9,8 @@ PROG= syslogd
MAN= syslog.conf.5 syslogd.8
SRCS= syslogd.c ttymsg.c
-DPADD= ${LIBULOG} ${LIBUTIL}
-LDADD= -lulog -lutil
+DPADD= ${LIBUTIL}
+LDADD= -lutil
WARNS?= 3
diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c
index 5d50082beff95..b803969c85470 100644
--- a/usr.sbin/syslogd/syslogd.c
+++ b/usr.sbin/syslogd/syslogd.c
@@ -105,9 +105,8 @@ __FBSDID("$FreeBSD$");
#include <stdlib.h>
#include <string.h>
#include <sysexits.h>
-#define _ULOG_POSIX_NAMES
-#include <ulog.h>
#include <unistd.h>
+#include <utmpx.h>
#include "pathnames.h"
#include "ttymsg.h"