Module Name: src
Committed By: rillig
Date: Fri Jun 16 07:12:46 UTC 2023
Modified Files:
src/usr.bin/make: cond.c make.h
Log Message:
make: remove parameter names from function declarations
No binary change.
To generate a diff of this commit:
cvs rdiff -u -r1.345 -r1.346 src/usr.bin/make/cond.c
cvs rdiff -u -r1.320 -r1.321 src/usr.bin/make/make.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/cond.c
diff -u src/usr.bin/make/cond.c:1.345 src/usr.bin/make/cond.c:1.346
--- src/usr.bin/make/cond.c:1.345 Thu Jun 1 07:44:10 2023
+++ src/usr.bin/make/cond.c Fri Jun 16 07:12:46 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: cond.c,v 1.345 2023/06/01 07:44:10 rillig Exp $ */
+/* $NetBSD: cond.c,v 1.346 2023/06/16 07:12:46 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -92,7 +92,7 @@
#include "dir.h"
/* "@(#)cond.c 8.2 (Berkeley) 1/2/94" */
-MAKE_RCSID("$NetBSD: cond.c,v 1.345 2023/06/01 07:44:10 rillig Exp $");
+MAKE_RCSID("$NetBSD: cond.c,v 1.346 2023/06/16 07:12:46 rillig Exp $");
/*
* Conditional expressions conform to this grammar:
@@ -173,7 +173,7 @@ typedef struct CondParser {
bool printedError;
} CondParser;
-static CondResult CondParser_Or(CondParser *par, bool);
+static CondResult CondParser_Or(CondParser *, bool);
unsigned int cond_depth = 0; /* current .if nesting level */
Index: src/usr.bin/make/make.h
diff -u src/usr.bin/make/make.h:1.320 src/usr.bin/make/make.h:1.321
--- src/usr.bin/make/make.h:1.320 Thu Jun 1 07:44:10 2023
+++ src/usr.bin/make/make.h Fri Jun 16 07:12:46 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: make.h,v 1.320 2023/06/01 07:44:10 rillig Exp $ */
+/* $NetBSD: make.h,v 1.321 2023/06/16 07:12:46 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -778,8 +778,8 @@ void Arch_End(void);
bool Arch_ParseArchive(char **, GNodeList *, GNode *);
void Arch_Touch(GNode *);
void Arch_TouchLib(GNode *);
-void Arch_UpdateMTime(GNode *gn);
-void Arch_UpdateMemberMTime(GNode *gn);
+void Arch_UpdateMTime(GNode *);
+void Arch_UpdateMemberMTime(GNode *);
void Arch_FindLib(GNode *, SearchPath *);
bool Arch_LibOODate(GNode *) MAKE_ATTR_USE;
bool Arch_IsLib(GNode *) MAKE_ATTR_USE;