summaryrefslogtreecommitdiff
path: root/os/log.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-12-06 19:28:07 -0800
committerKeith Packard <keithp@keithp.com>2010-12-06 19:28:07 -0800
commitc4a7a5917ab828d4a0bd825a98e4d641bcb378f1 (patch)
tree8c4e85403e6f9f635fc96d6aaa44fb836eb0fdae /os/log.c
parent5de312a60d8227ed670849ecf888ea878aa81430 (diff)
parent714b68d9e5bf624a6703f168e0f7dc980e88e8c0 (diff)
Merge remote branch 'jeremyhu/master'
Diffstat (limited to 'os/log.c')
-rw-r--r--os/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/log.c b/os/log.c
index fdcf91c31..1ad87dfc2 100644
--- a/os/log.c
+++ b/os/log.c
@@ -121,7 +121,7 @@ static Bool needBuffer = TRUE;
#include <AvailabilityMacros.h>
static char __crashreporter_info_buff__[4096] = {0};
-static const char *__crashreporter_info__ = &__crashreporter_info_buff__[0];
+static const char *__crashreporter_info__ __attribute__((__used__)) = &__crashreporter_info_buff__[0];
#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1050
// This is actually a toolchain requirement, but I'm not sure the correct check,
// but it should be fine to just only include it for Leopard and later. This line