]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qemu-keymap.c
target/arm: Add name argument to output_vector_union_type
[mirror_qemu.git] / qemu-keymap.c
index 4d00468747f703b2cd10345bb9d958cf5c4f5ddf..229866e0044352595501a28fbd15527035963041 100644 (file)
@@ -10,7 +10,6 @@
  * See the COPYING file in the top-level directory.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/notify.h"
 #include "ui/input.h"
 
@@ -188,6 +187,7 @@ int main(int argc, char *argv[])
     }
 
     fprintf(outfile,
+            "# SPDX-License-Identifier: GPL-2.0-or-later\n"
             "#\n"
             "# generated by qemu-keymap\n"
             "#    model   : %s\n"
@@ -226,6 +226,8 @@ int main(int argc, char *argv[])
 
     state = xkb_state_new(map);
     xkb_keymap_key_for_each(map, walk_map, state);
+    xkb_state_unref(state);
+    state = NULL;
 
     /* add quirks */
     fprintf(outfile,