Module Name: src Committed By: rillig Date: Fri Aug 28 04:16:58 UTC 2020
Modified Files: src/usr.bin/make: dir.c lst.h Log Message: make(1): remove unused reference to Lst_Last To generate a diff of this commit: cvs rdiff -u -r1.116 -r1.117 src/usr.bin/make/dir.c cvs rdiff -u -r1.50 -r1.51 src/usr.bin/make/lst.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/make/dir.c diff -u src/usr.bin/make/dir.c:1.116 src/usr.bin/make/dir.c:1.117 --- src/usr.bin/make/dir.c:1.116 Fri Aug 28 04:14:31 2020 +++ src/usr.bin/make/dir.c Fri Aug 28 04:16:57 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: dir.c,v 1.116 2020/08/28 04:14:31 rillig Exp $ */ +/* $NetBSD: dir.c,v 1.117 2020/08/28 04:16:57 rillig Exp $ */ /* * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. @@ -70,14 +70,14 @@ */ #ifndef MAKE_NATIVE -static char rcsid[] = "$NetBSD: dir.c,v 1.116 2020/08/28 04:14:31 rillig Exp $"; +static char rcsid[] = "$NetBSD: dir.c,v 1.117 2020/08/28 04:16:57 rillig Exp $"; #else #include <sys/cdefs.h> #ifndef lint #if 0 static char sccsid[] = "@(#)dir.c 8.2 (Berkeley) 1/2/94"; #else -__RCSID("$NetBSD: dir.c,v 1.116 2020/08/28 04:14:31 rillig Exp $"); +__RCSID("$NetBSD: dir.c,v 1.117 2020/08/28 04:16:57 rillig Exp $"); #endif #endif /* not lint */ #endif @@ -1339,7 +1339,7 @@ Dir_FindFile(const char *name, Lst path) cp[-1] = '/'; bigmisses += 1; - ln = Lst_Last(path); + ln = Lst_LastS(path); if (ln == NULL) { return NULL; } else { Index: src/usr.bin/make/lst.h diff -u src/usr.bin/make/lst.h:1.50 src/usr.bin/make/lst.h:1.51 --- src/usr.bin/make/lst.h:1.50 Fri Aug 28 04:14:31 2020 +++ src/usr.bin/make/lst.h Fri Aug 28 04:16:57 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: lst.h,v 1.50 2020/08/28 04:14:31 rillig Exp $ */ +/* $NetBSD: lst.h,v 1.51 2020/08/28 04:16:57 rillig Exp $ */ /* * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. @@ -133,7 +133,6 @@ void Lst_MoveAllS(Lst, Lst); /* Return first element in list */ LstNode Lst_FirstS(Lst); /* Return last element in list */ -LstNode Lst_Last(Lst); LstNode Lst_LastS(Lst); /* Return successor to given element */ LstNode Lst_SuccS(LstNode);