Fri Jun 16 07:12:46 2023 UTC ()
make: remove parameter names from function declarations

No binary change.


(rillig)
diff -r1.345 -r1.346 src/usr.bin/make/cond.c
diff -r1.320 -r1.321 src/usr.bin/make/make.h

cvs diff -r1.345 -r1.346 src/usr.bin/make/cond.c (expand / switch to context diff)
--- src/usr.bin/make/cond.c 2023/06/01 07:44:10 1.345
+++ src/usr.bin/make/cond.c 2023/06/16 07:12:46 1.346
@@ -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 @@
 	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 */
 

cvs diff -r1.320 -r1.321 src/usr.bin/make/make.h (expand / switch to context diff)
--- src/usr.bin/make/make.h 2023/06/01 07:44:10 1.320
+++ src/usr.bin/make/make.h 2023/06/16 07:12:46 1.321
@@ -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 @@
 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;