Module Name:    src
Committed By:   rillig
Date:           Sun Sep 10 11:52:30 UTC 2023

Modified Files:
        src/usr.bin/make: make.h

Log Message:
make: remove redundant 'extern' from function declaration


To generate a diff of this commit:
cvs rdiff -u -r1.324 -r1.325 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/make.h
diff -u src/usr.bin/make/make.h:1.324 src/usr.bin/make/make.h:1.325
--- src/usr.bin/make/make.h:1.324	Sat Jun 24 07:02:24 2023
+++ src/usr.bin/make/make.h	Sun Sep 10 11:52:29 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: make.h,v 1.324 2023/06/24 07:02:24 rillig Exp $	*/
+/*	$NetBSD: make.h,v 1.325 2023/09/10 11:52:29 rillig Exp $	*/
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -1193,7 +1193,7 @@ pp_skip_hspace(char **pp)
 
 #if defined(lint)
 void do_not_define_rcsid(void); /* for lint */
-# define MAKE_RCSID(id) extern void do_not_define_rcsid(void)
+# define MAKE_RCSID(id) void do_not_define_rcsid(void)
 #elif defined(MAKE_NATIVE)
 # include <sys/cdefs.h>
 # define MAKE_RCSID(id) __RCSID(id)
@@ -1202,7 +1202,7 @@ void do_not_define_rcsid(void); /* for l
 # define MAKE_RCSID(id) static volatile char \
 	MAKE_RCSID_CONCAT(rcsid_, __COUNTER__)[] = id
 #elif defined(MAKE_ALL_IN_ONE)
-# define MAKE_RCSID(id) extern void do_not_define_rcsid(void)
+# define MAKE_RCSID(id) void do_not_define_rcsid(void)
 #else
 # define MAKE_RCSID(id) static volatile char rcsid[] = id
 #endif

Reply via email to