summaryrefslogtreecommitdiffstats
path: root/build-root/emacs-lisp
diff options
context:
space:
mode:
authorEd Warnicke <eaw@cisco.com>2016-08-11 13:30:57 -0700
committerEd Warnicke <eaw@cisco.com>2016-08-12 18:22:47 +0000
commitc1be59d3eb92096f7403ad5b3c3e7cbd78ba0b96 (patch)
tree48e782b8e2bba7fe4874c3e86838d5446a60cdbf /build-root/emacs-lisp
parent75f6904e252dabea5098dbe9fb0cd56d9c6e34d7 (diff)
VPP-237: Bracket VL_API_PACKED(...) macros, which indent mangles
Change-Id: I208be749350ddb093ecfae149d420f580846c52a Signed-off-by: Ed Warnicke <eaw@cisco.com>
Diffstat (limited to 'build-root/emacs-lisp')
-rwxr-xr-xbuild-root/emacs-lisp/fix-coding-style.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/build-root/emacs-lisp/fix-coding-style.el b/build-root/emacs-lisp/fix-coding-style.el
index 4845ace5817..0bb63483ffb 100755
--- a/build-root/emacs-lisp/fix-coding-style.el
+++ b/build-root/emacs-lisp/fix-coding-style.el
@@ -113,6 +113,8 @@
(defun fix-clib-packed () (interactive)
(fix-initializer "CLIB_PACKED *("))
+(defun fix-vl-api-packed () (interactive)
+ (fix-initializer "VL_API_PACKED *("))
;; Driver routine which runs the set of functions
;; defined above, as well as the bottom boilerplate function
@@ -133,6 +135,7 @@
(fix-vnet-device-class)
(fix-vnet-hw-interface-class)
(fix-clib-packed)
+ (fix-vl-api-packed)
(insert-style-boilerplate)
(if (boundp 'indent-offset-list)
(makunbound 'indent-offset-list)))