diff --git a/usr.sbin/sade/keymap.c b/usr.sbin/sade/keymap.c index da0870743470..f6dcfd677fc1 100644 --- a/usr.sbin/sade/keymap.c +++ b/usr.sbin/sade/keymap.c @@ -50,6 +50,7 @@ struct keymapInfo { * the language name only. */ +#ifdef WITH_SYSCONS static int keymapSetDefault(const char *prefix) { @@ -113,6 +114,7 @@ keymapMenuSelect(dialogMenuItem *self) return dmenuOpenSimple(&MenuSysconsKeymap, FALSE) ? DITEM_SUCCESS : DITEM_FAILURE; } +#endif /* * Return values: diff --git a/usr.sbin/sysinstall/keymap.c b/usr.sbin/sysinstall/keymap.c index da0870743470..f6dcfd677fc1 100644 --- a/usr.sbin/sysinstall/keymap.c +++ b/usr.sbin/sysinstall/keymap.c @@ -50,6 +50,7 @@ struct keymapInfo { * the language name only. */ +#ifdef WITH_SYSCONS static int keymapSetDefault(const char *prefix) { @@ -113,6 +114,7 @@ keymapMenuSelect(dialogMenuItem *self) return dmenuOpenSimple(&MenuSysconsKeymap, FALSE) ? DITEM_SUCCESS : DITEM_FAILURE; } +#endif /* * Return values: