summaryrefslogtreecommitdiff
path: root/lib/compat
diff options
context:
space:
mode:
authorThomas Klausner <wiz@NetBSD.org>2017-02-11 19:55:16 +0100
committerGuillem Jover <guillem@debian.org>2017-02-26 23:40:22 +0100
commitedeb1593a9e7e2a5a38f2b28841d831bfee4ee7d (patch)
tree27c61a759b2a4579546b1eeb3c165d65d0aeb8b8 /lib/compat
parentce97c5865788e0d311645d12d1c84f6fdf1412ea (diff)
downloaddpkg-edeb1593a9e7e2a5a38f2b28841d831bfee4ee7d.tar.gz
libcompat: Do not redeclare sys_siglist when the system does so
This can cause issues if the declaration is not exactly the same, and declaring it when the system already does is bogus no matter what. Signed-off-by: Guillem Jover <guillem@debian.org>
Diffstat (limited to 'lib/compat')
-rw-r--r--lib/compat/strsignal.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/compat/strsignal.c b/lib/compat/strsignal.c
index ad2bb3a8b..66ed0c39d 100644
--- a/lib/compat/strsignal.c
+++ b/lib/compat/strsignal.c
@@ -60,7 +60,6 @@ const char *const sys_siglist[] = {
# define NSIG 32
# endif
# define COMPAT_NSIGLIST NSIG
-extern const char *const sys_siglist[];
#endif
const char *