Restore sys_signame for LP64.

mksh is using this, and we probably build as much BSD source as glibc source.

Change-Id: I400d255a67f9614ca9e57090e3a2e49d2b10cba4
This commit is contained in:
Elliott Hughes
2014-02-12 19:04:27 -08:00
parent fc48e8cf28
commit 671e236d5f
3 changed files with 2 additions and 8 deletions

View File

@@ -61,9 +61,7 @@ typedef int sig_atomic_t;
#define NSIG _NSIG
extern const char* const sys_siglist[];
#if !defined(__LP64__)
extern const char* const sys_signame[];
#endif
extern const char* const sys_signame[]; /* BSD compatibility. */
typedef __sighandler_t sig_t; /* BSD compatibility. */
typedef __sighandler_t sighandler_t; /* glibc compatibility. */