summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-01-07 10:02:23 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-01-07 10:02:23 -0800
commitba47bfd9c4ebab0c71f7918127506817378d9eef (patch)
tree08d048cf9e8eb7c04a37f1ba755c84a921dfc371
parentfb9c07cbf0339922816007f2d35c501266a439b1 (diff)
Move ifdefs to clear "warning: statement has no consequent: if"
-rw-r--r--src/kbd.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/kbd.c b/src/kbd.c
index abaf5c8..696bc45 100644
--- a/src/kbd.c
+++ b/src/kbd.c
@@ -805,14 +805,14 @@ sunKeyboards:
UpdateLeds(pInfo);
}
+#if !defined(CSRG_BASED) && \
+ !defined(__GNU__) && \
+ defined(KB_84)
if (!pKbd->CustomKeycodes) {
/*
* normal, non-keypad keys
*/
if (scanCode < KEY_KP_7 || scanCode > KEY_KP_Decimal) {
-#if !defined(CSRG_BASED) && \
- !defined(__GNU__) && \
- defined(KB_84)
/*
* magic ALT_L key on AT84 keyboards for multilingual support
*/
@@ -822,9 +822,10 @@ sunKeyboards:
{
UsePrefix = TRUE;
}
-#endif /* !CSRG_BASED && ... */
}
}
+#endif /* !CSRG_BASED && !GNU && KB_84 */
+
#ifdef XKB
}
#endif