summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build-root/emacs-lisp/plugin-test-skel.el4
-rw-r--r--src/vlibapi/vat_helper_macros.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/build-root/emacs-lisp/plugin-test-skel.el b/build-root/emacs-lisp/plugin-test-skel.el
index 23f792fa472..d69aa2ce7c0 100644
--- a/build-root/emacs-lisp/plugin-test-skel.el
+++ b/build-root/emacs-lisp/plugin-test-skel.el
@@ -109,7 +109,7 @@ _(" PLUGIN-NAME "_ENABLE_DISABLE_REPLY, " plugin-name "_enable_disable_reply)
/* M: construct, but don't yet send a message */
-#define M(T,t) \\
+#define M(T, mp) \\
do { \\
vam->result_ready = 0; \\
mp = vl_msg_api_alloc(sizeof(*mp)); \\
@@ -118,7 +118,7 @@ do { \\
mp->client_index = vam->my_client_index; \\
} while(0);
-#define M2(T,t,n) \\
+#define M2(T, mp, n) \\
do { \\
vam->result_ready = 0; \\
mp = vl_msg_api_alloc(sizeof(*mp)+(n)); \\
diff --git a/src/vlibapi/vat_helper_macros.h b/src/vlibapi/vat_helper_macros.h
index dc91c9f5023..b2fbb86d928 100644
--- a/src/vlibapi/vat_helper_macros.h
+++ b/src/vlibapi/vat_helper_macros.h
@@ -20,7 +20,7 @@
#define __vat_helper_macros_h__
/* M: construct, but don't yet send a message */
-#define M(T,t) \
+#define M(T, mp) \
do { \
vam->result_ready = 0; \
mp = vl_msg_api_alloc_as_if_client(sizeof(*mp)); \
@@ -29,7 +29,7 @@ do { \
mp->client_index = vam->my_client_index; \
} while(0);
-#define M2(T,t,n) \
+#define M2(T, mp, n) \
do { \
vam->result_ready = 0; \
mp = vl_msg_api_alloc_as_if_client(sizeof(*mp)+(n)); \