summary refs log tree commit diff stats
path: root/include/qapi
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2024-08-09 17:37:54 +0100
committerPeter Maydell <peter.maydell@linaro.org>2024-08-09 17:37:54 +0100
commit05548400327db52d8f98eb033002fd2baadc3706 (patch)
tree744b82b39313e3850cc4af761ca448791324d1f2 /include/qapi
parent64678fc45d8f6c0c8d3adff41e0080aa7af15549 (diff)
downloadfocaccia-qemu-05548400327db52d8f98eb033002fd2baadc3706.tar.gz
focaccia-qemu-05548400327db52d8f98eb033002fd2baadc3706.zip
include: Fix typo in name of MAKE_IDENTFIER macro
In commit bb71846325e23 we added some macro magic to avoid
variable-shadowing when using some of our more complicated
macros. One of the internal components of this is a macro
named MAKE_IDENTFIER. Fix the typo in its name: it should
be MAKE_IDENTIFIER.

Commit created with
 sed -i -e 's/MAKE_IDENTFIER/MAKE_IDENTIFIER/g' include/qemu/*.h include/qapi/qmp/qobject.h

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20240801102516.3843780-1-peter.maydell@linaro.org
Diffstat (limited to 'include/qapi')
-rw-r--r--include/qapi/qmp/qobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qapi/qmp/qobject.h b/include/qapi/qmp/qobject.h
index 89b97d88bc..256d782688 100644
--- a/include/qapi/qmp/qobject.h
+++ b/include/qapi/qmp/qobject.h
@@ -54,7 +54,7 @@ struct QObject {
     typeof(obj) _obj = (obj);                                   \
     _obj ? container_of(&_obj->base, QObject, base) : NULL;     \
 })
-#define QOBJECT(obj) QOBJECT_INTERNAL((obj), MAKE_IDENTFIER(_obj))
+#define QOBJECT(obj) QOBJECT_INTERNAL((obj), MAKE_IDENTIFIER(_obj))
 
 /* Required for qobject_to() */
 #define QTYPE_CAST_TO_QNull     QTYPE_QNULL