Commit 2a7bece6 authored by Gerd Hoffmann's avatar Gerd Hoffmann
Browse files

keymaps: drop support for include files



Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Reviewed-by: default avatarLi Qiang <liq3ea@gmail.com>
Message-id: 20181116104319.10329-5-kraxel@redhat.com
parent 26b1cbf8
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -115,10 +115,9 @@ static int parse_keyboard_layout(kbd_layout_t *k,
            continue;
        }
        if (!strncmp(line, "include ", 8)) {
            if (parse_keyboard_layout(k, table, line + 8, errp) < 0) {
            error_setg(errp, "keymap include files are not supported any more");
            ret = -1;
            goto out;
            }
        } else {
            int offset = 0;
            while (line[offset] != 0 &&