aboutsummaryrefslogtreecommitdiffstats
path: root/src/tools/vppapigen
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/vppapigen')
-rw-r--r--src/tools/vppapigen/vppapigen_c.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/vppapigen/vppapigen_c.py b/src/tools/vppapigen/vppapigen_c.py
index 2a66ff3159e..f0fb00831c3 100644
--- a/src/tools/vppapigen/vppapigen_c.py
+++ b/src/tools/vppapigen/vppapigen_c.py
@@ -85,8 +85,8 @@ def msg_name_crc_list(s, suffix):
def duplicate_wrapper_head(name):
- s = "#ifndef defined_%s\n" % name
- s += "#define defined_%s\n" % name
+ s = "#ifndef _vl_api_defined_%s\n" % name
+ s += "#define _vl_api_defined_%s\n" % name
return s