From bf8959b05da967c9ccd76b32aaf8eb746d30aa7b Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Wed, 13 Jan 2010 17:59:23 +0000 Subject: [PATCH] Port the remaining apps in sbin/ to utmpx; only reboot(8). --- sbin/reboot/Makefile | 2 -- sbin/reboot/reboot.c | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/sbin/reboot/Makefile b/sbin/reboot/Makefile index 2a2f6f187175..aa41e30438a6 100644 --- a/sbin/reboot/Makefile +++ b/sbin/reboot/Makefile @@ -2,8 +2,6 @@ # $FreeBSD$ PROG= reboot -DPADD= ${LIBULOG} -LDADD= -lulog MAN= reboot.8 nextboot.8 MLINKS= reboot.8 halt.8 reboot.8 fastboot.8 reboot.8 fasthalt.8 diff --git a/sbin/reboot/reboot.c b/sbin/reboot/reboot.c index 1124ec6b6e08..9e5dab8e78c3 100644 --- a/sbin/reboot/reboot.c +++ b/sbin/reboot/reboot.c @@ -54,9 +54,8 @@ __FBSDID("$FreeBSD$"); #include #include #include -#define _ULOG_POSIX_NAMES -#include #include +#include static void usage(void); static u_int get_pageins(void);