aboutsummaryrefslogtreecommitdiffstats
path: root/extras/emacs
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2018-10-31 09:23:35 -0400
committerDave Barach <dave@barachs.net>2018-10-31 09:23:58 -0400
commit6070768ce02fa7bde2146b5bd39078630f667d28 (patch)
tree80712277c193e7822fa453d8ac108abc47641af5 /extras/emacs
parenta22ba8859a108569b457d18873a52a91f1387a38 (diff)
EMACS-LISP-ONLY: fix boilerplate compile error
Change-Id: I81defe6465219e23a44608fcf0570a058ab3f59e Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'extras/emacs')
-rw-r--r--extras/emacs/plugin-node-skel.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/extras/emacs/plugin-node-skel.el b/extras/emacs/plugin-node-skel.el
index 3c10bdf628c..e83075f833b 100644
--- a/extras/emacs/plugin-node-skel.el
+++ b/extras/emacs/plugin-node-skel.el
@@ -54,7 +54,7 @@ typedef struct
#ifndef CLIB_MARCH_VARIANT
static u8 *
-format_mac_address (u8 * s, va_list * args)
+my_format_mac_address (u8 * s, va_list * args)
{
u8 *a = va_arg (*args, u8 *);
return format (s, \"%02x:%02x:%02x:%02x:%02x:%02x\",
@@ -71,8 +71,8 @@ static u8 * format_" plugin-name "_trace (u8 * s, va_list * args)
s = format (s, \"" PLUGIN-NAME ": sw_if_index %d, next index %d\\n\",
t->sw_if_index, t->next_index);
s = format (s, \" new src %U -> new dst %U\",
- format_mac_address, t->new_src_mac,
- format_mac_address, t->new_dst_mac);
+ my_format_mac_address, t->new_src_mac,
+ my_format_mac_address, t->new_dst_mac);
return s;
}