dynamic initialization.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48666
91177308-0d34-0410-b5e6-
96231b3b80d8
const int IntSigs[] = {
SIGHUP, SIGINT, SIGQUIT, SIGPIPE, SIGTERM, SIGUSR1, SIGUSR2
};
-const int *IntSigsEnd = array_endof(IntSigs);
+const int *IntSigsEnd = IntSigs + sizeof(IntSigs) / sizeof(IntSigs[0]);
// KillSigs - Signals that are synchronous with the program that will cause it
// to die.
, SIGEMT
#endif
};
-const int *KillSigsEnd = array_endof(KillSigs);
+const int *KillSigsEnd = KillSigs + sizeof(KillSigs) / sizeof(KillSigs[0]);
#ifdef HAVE_BACKTRACE
void* StackTrace[256];