fix external dummy_lock symbol inadvertently introduced in sigaction
authorRich Felker <dalias@aerifal.cx>
Sun, 18 Aug 2019 02:31:40 +0000 (22:31 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 18 Aug 2019 02:32:45 +0000 (22:32 -0400)
commit 9b14ad541068d4f7d0be9bcd1ff4c70090d868d3 introduced this
namespace violation.

src/signal/sigaction.c

index 05445089f23f3608019db00680a5d74a62fa38e2..c109bea0cfe360ce4191a175c1e561c2d7fb6419 100644 (file)
@@ -7,7 +7,7 @@
 #include "lock.h"
 #include "ksigaction.h"
 
-volatile int dummy_lock[1] = { 0 };
+static volatile int dummy_lock[1] = { 0 };
 
 extern hidden volatile int __abort_lock[1];