]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Avoid declaring the same field twice if SIGPWR is defined to SIGLOST.
authorUlrich Drepper <drepper@redhat.com>
Tue, 23 Nov 1999 17:06:27 +0000 (17:06 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 23 Nov 1999 17:06:27 +0000 (17:06 +0000)
sysdeps/generic/siglist.h

index c5867bcceff88bcf0e7ec298c95ecd48cea83c80..15fb3fa6012f8eea5100f8ab89dec31524640ced 100644 (file)
@@ -67,7 +67,7 @@
 #endif
 #ifdef SIGINFO
   init_sig (SIGINFO, "INFO", N_("Information request"))
-#elif defined(SIGPWR)
+#elif defined(SIGPWR) && (!defined(SIGLOST) || (SIGPWR != SIGLOST))
   init_sig (SIGPWR, "PWR", N_("Power failure"))
 #endif
 #ifdef SIGLOST