Module Name:    src
Committed By:   rillig
Date:           Sat Jan 30 15:53:55 UTC 2021

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

Log Message:
make(1): fix lint warning about empty declarations


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/make/enum.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/enum.h
diff -u src/usr.bin/make/enum.h:1.15 src/usr.bin/make/enum.h:1.16
--- src/usr.bin/make/enum.h:1.15	Sat Jan 30 15:48:42 2021
+++ src/usr.bin/make/enum.h	Sat Jan 30 15:53:55 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: enum.h,v 1.15 2021/01/30 15:48:42 rillig Exp $	*/
+/*	$NetBSD: enum.h,v 1.16 2021/01/30 15:53:55 rillig Exp $	*/
 
 /*
  Copyright (c) 2020 Roland Illig <[email protected]>
@@ -104,7 +104,7 @@ const char *Enum_ValueToString(int, cons
 #define ENUM__VALUE_RTTI(typnam, specs) \
 	static const EnumToStringSpec typnam ## _ ## ToStringSpecs[] = specs; \
 	MAKE_INLINE const char *typnam ## _ToString(typnam value) \
-	{ return Enum_ValueToString(value, typnam ## _ ## ToStringSpecs); }; \
+	{ return Enum_ValueToString(value, typnam ## _ ## ToStringSpecs); } \
 	extern void enum_value_rtti_dummy(void)
 
 
@@ -115,7 +115,7 @@ const char *Enum_ValueToString(int, cons
 	MAKE_INLINE const char *typnam ## _ToString(char *buf, typnam value) \
 	{ return Enum_FlagsToString(buf, typnam ## _ ## ToStringSize, \
 	    value, typnam ## _ ## ToStringSpecs); \
-	}; \
+	} \
 	extern void enum_flags_rtti_dummy(void)
 
 /*

Reply via email to