From 57d10a6e95a4cdb97bc1a8c3125f1a2719736ccf Mon Sep 17 00:00:00 2001 From: ed Date: Wed, 13 Jan 2010 18:17:53 +0000 Subject: Port all applications in usr.sbin/ from libulog to utmpx. --- usr.sbin/bsnmpd/modules/snmp_hostres/Makefile | 4 ++-- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'usr.sbin/bsnmpd') diff --git a/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile b/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile index 3e9e05f..2922f45 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 diff --git a/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c b/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c index 8cf648b..f86334e 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 #include #include -#define _ULOG_POSIX_NAMES -#include +#include #include "hostres_snmp.h" #include "hostres_oid.h" -- cgit v1.1