top(1): fix build

Remove 'top.local.hs'. This was not noticed since
/srv/obj/fbsd/srv/src/freebsd/svn/head/amd64.amd64/usr.bin/top/top.local.h
existed locally on my machine despite "make clean". Only fully removing
the objdir allowed me to observe the error directly.

Pointyhat to:	me
This commit is contained in:
eadler 2018-05-21 09:43:50 +00:00
parent 09df930b6f
commit 7ff9451fb2
4 changed files with 1 additions and 5 deletions

View File

@ -2,8 +2,7 @@
PROG= top PROG= top
SRCS= commands.c display.c machine.c screen.c top.c \ SRCS= commands.c display.c machine.c screen.c top.c \
username.c utils.c username.c utils.c sigdesc.h
SRCS+= sigdesc.h top.local.h
CFLAGS+= -I ${.OBJDIR} CFLAGS+= -I ${.OBJDIR}
MAN= top.1 MAN= top.1

View File

@ -44,7 +44,6 @@
#include "layout.h" /* defines for screen position layout */ #include "layout.h" /* defines for screen position layout */
#include "display.h" #include "display.h"
#include "top.h" #include "top.h"
#include "top.local.h"
#include "boolean.h" #include "boolean.h"
#include "machine.h" /* we should eliminate this!!! */ #include "machine.h" /* we should eliminate this!!! */
#include "utils.h" #include "utils.h"

View File

@ -31,7 +31,6 @@
#include "display.h" /* interface to display package */ #include "display.h" /* interface to display package */
#include "screen.h" /* interface to screen package */ #include "screen.h" /* interface to screen package */
#include "top.h" #include "top.h"
#include "top.local.h"
#include "boolean.h" #include "boolean.h"
#include "machine.h" #include "machine.h"
#include "utils.h" #include "utils.h"

View File

@ -37,7 +37,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include "top.local.h"
#include "utils.h" #include "utils.h"
#include "username.h" #include "username.h"