mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-26 20:12:44 +00:00
mpsutil: Clean up libutil deps
mpsutil doesn't use libutil, so doesn't need to include libutil.h. See
commit 76103694a0
.
No functional change intended.
MFC after: 1 week
This commit is contained in:
parent
820401bf17
commit
d56ce5915c
@ -1,17 +1,13 @@
|
||||
|
||||
PROG= mpsutil
|
||||
SRCS= mps_cmd.c mps_debug.c mps_flash.c mps_set.c mps_show.c mps_slot.c mpsutil.c
|
||||
MAN= mpsutil.8
|
||||
|
||||
WARNS?= 3
|
||||
|
||||
#LIBADD= cam util
|
||||
LINKS= ${BINDIR}/mpsutil ${BINDIR}/mprutil
|
||||
MLINKS= mpsutil.8 mprutil.8
|
||||
|
||||
CFLAGS+= -I${SRCTOP}/sys -I. -DUSE_MPT_IOCTLS
|
||||
# Avoid dirdep dependency on libutil
|
||||
CFLAGS+= -I${SRCTOP}/lib/libutil
|
||||
|
||||
# Here be dragons
|
||||
.ifdef DEBUG
|
||||
|
@ -32,7 +32,6 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/sysctl.h>
|
||||
#include <err.h>
|
||||
#include <libutil.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include <sys/param.h>
|
||||
#include <sys/errno.h>
|
||||
#include <err.h>
|
||||
#include <libutil.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
@ -35,7 +35,6 @@
|
||||
#include <sys/errno.h>
|
||||
#include <sys/endian.h>
|
||||
#include <err.h>
|
||||
#include <libutil.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
Loading…
Reference in New Issue
Block a user