Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/acpi/acpica/Subsystem Add __attribute__((__unused__)...



details:   https://anonhg.NetBSD.org/src/rev/7e68a4cf0409
branches:  trunk
changeset: 515530:7e68a4cf0409
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Sep 28 01:52:52 2001 +0000

description:
Add __attribute__((__unused__)) to _THIS_MODULE.

diffstat:

 sys/dev/acpi/acpica/Subsystem/acmacros.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 135b84fcdd7a -r 7e68a4cf0409 sys/dev/acpi/acpica/Subsystem/acmacros.h
--- a/sys/dev/acpi/acpica/Subsystem/acmacros.h  Fri Sep 28 01:50:04 2001 +0000
+++ b/sys/dev/acpi/acpica/Subsystem/acmacros.h  Fri Sep 28 01:52:52 2001 +0000
@@ -492,7 +492,8 @@
 
 #ifdef ACPI_DEBUG
 
-#define MODULE_NAME(name)               static char *_THIS_MODULE = name;
+#define MODULE_NAME(name)               static char *_THIS_MODULE \
+                       __attribute__((__unused__)) = name;
 
 /*
  * Function entry tracing.



Home | Main Index | Thread Index | Old Index