summaryrefslogtreecommitdiff
path: root/hw/xquartz/console_redirect.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xquartz/console_redirect.c')
-rw-r--r--hw/xquartz/console_redirect.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/hw/xquartz/console_redirect.c b/hw/xquartz/console_redirect.c
index 8fdce4699..30d05ecc0 100644
--- a/hw/xquartz/console_redirect.c
+++ b/hw/xquartz/console_redirect.c
@@ -316,20 +316,6 @@ xq_asl_init(void)
atexit(redirect_atexit);
}
-#if MAC_OS_X_VERSION_MIN_REQUIRED < 1050
-#define fls(v) xq_fls(v)
-
-static inline int fls(int value) {
- unsigned int b, v;
-
- v = *((unsigned int *)&value);
-
- for(b=0 ; v ; v >>= 1 , b++);
-
- return b;
-}
-#endif
-
int
xq_asl_log_fd(aslclient asl, aslmsg msg, int level, int fd)
{