summary refs log tree commit diff stats
path: root/include/qapi/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qapi/util.h')
-rw-r--r--include/qapi/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qapi/util.h b/include/qapi/util.h
index 7436ed815c..4eb8a3fe2f 100644
--- a/include/qapi/util.h
+++ b/include/qapi/util.h
@@ -12,7 +12,7 @@
 #define QAPI_UTIL_H
 
 int qapi_enum_parse(const char * const lookup[], const char *buf,
-                    int max, int def, Error **errp);
+                    int def, Error **errp);
 
 int parse_qapi_name(const char *name, bool complete);