aboutsummaryrefslogtreecommitdiffstats
path: root/build-root
diff options
context:
space:
mode:
authorJon Loeliger <jdl@netgate.com>2017-01-31 13:47:08 -0600
committerDave Barach <openvpp@barachs.net>2017-02-02 17:30:40 +0000
commit614e97d87b46853384cf0dcf1d59aaf9f4b2fa92 (patch)
tree01951e39071a909a3acb7eb184cbe2f367f38b1b /build-root
parent8a2aea3fce9dad7c729c82ee39ce95b4f357bc83 (diff)
Convert M() and M2() macros to honor their second, mp, parameter.
Now that all the M() and M2() uses properly supply a message pointer as second parameter, fix the macros to use it. Change-Id: I0b8f4848416c3fa2e06755ad6ea7171b7c546124 Signed-off-by: Jon Loeliger <jdl@netgate.com>
Diffstat (limited to 'build-root')
-rw-r--r--build-root/emacs-lisp/plugin-test-skel.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-root/emacs-lisp/plugin-test-skel.el b/build-root/emacs-lisp/plugin-test-skel.el
index 23f792fa..d69aa2ce 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)); \\