diff options
author | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2015-06-09 23:34:50 -0700 |
---|---|---|
committer | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2015-06-09 23:42:03 -0700 |
commit | 3a6fa115759c787ec34483437021ad1e55c52423 (patch) | |
tree | 1417f54f6fc6327069f7d8cfc4935c0dcc37fe1a /hw/xquartz | |
parent | 9fe7f5ccada37e2d2a2fa92064b92a0334a3fcdd (diff) |
XQuartz: Silence -Wunused-function
quartzKeyboard.c:741:1: warning: unused function 'macroman2ucs' [-Wunused-function,Unused Entity Issue]
macroman2ucs(unsigned char c)
^
1 warning generated.
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Diffstat (limited to 'hw/xquartz')
-rw-r--r-- | hw/xquartz/quartzKeyboard.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xquartz/quartzKeyboard.c b/hw/xquartz/quartzKeyboard.c index 84e34d916..2fed59306 100644 --- a/hw/xquartz/quartzKeyboard.c +++ b/hw/xquartz/quartzKeyboard.c @@ -737,6 +737,7 @@ LegalModifier(unsigned int key, DeviceIntPtr pDev) return 1; } +#if !defined(__LP64__) || MAC_OS_X_VERSION_MIN_REQUIRED < 1050 static inline UniChar macroman2ucs(unsigned char c) { @@ -782,6 +783,7 @@ macroman2ucs(unsigned char c) if (c < 128) return c; else return table[c - 128]; } +#endif static KeySym make_dead_key(KeySym in) |