From 97fe7f477fc469b6a75596f47dc98a08e4ed3e13 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Sun, 5 Oct 1997 09:40:24 +0000 Subject: Changes to support full make parallelism (-j) in the world target. Reviewed by: Submitted by: Nickolay N. Dudorov" --- lib/libpcap/Makefile | 3 ++- lib/libutil/pw_util.c | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile index 9256d62d95a2..8eeec153bd32 100644 --- a/lib/libpcap/Makefile +++ b/lib/libpcap/Makefile @@ -1,5 +1,5 @@ # Makefile for libpcap -# $Id: Makefile,v 1.15 1997/02/22 15:07:50 peter Exp $ +# $Id: Makefile,v 1.16 1997/05/27 00:08:01 fenner Exp $ LIB= pcap SRCS= grammar.c tokdefs.h pcap-bpf.c \ @@ -32,6 +32,7 @@ beforeinstall: ${DESTDIR}/usr/include .endfor +.ORDER: grammar.c tokdefs.h tokdefs.h grammar.c: grammar.y ${YACC} ${YACCFLAGS} -d ${PCAP_DISTDIR}/grammar.y mv y.tab.c grammar.c diff --git a/lib/libutil/pw_util.c b/lib/libutil/pw_util.c index 21e0ca5c7e05..5902c077870b 100644 --- a/lib/libutil/pw_util.c +++ b/lib/libutil/pw_util.c @@ -32,7 +32,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)pw_util.c 8.3 (Berkeley) 4/2/94"; +static const char sccsid[] = "@(#)pw_util.c 8.3 (Berkeley) 4/2/94"; #endif /* not lint */ /* @@ -126,7 +126,7 @@ pw_tmp() int fd; char *p; - if (p = strrchr(path, '/')) + if ((p = strrchr(path, '/'))) ++p; else p = path; @@ -172,7 +172,7 @@ pw_edit(notsetuid) if (!(editor = getenv("EDITOR"))) editor = _PATH_VI; - if (p = strrchr(editor, '/')) + if ((p = strrchr(editor, '/'))) ++p; else p = editor; -- cgit v1.3