summaryrefslogtreecommitdiffstats
path: root/build-root/emacs-lisp
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2016-08-11 16:03:03 -0400
committerFlorin Coras <florin.coras@gmail.com>2016-08-12 16:02:31 +0000
commit75f6904e252dabea5098dbe9fb0cd56d9c6e34d7 (patch)
tree2dd106102da46eb81dae0dbcb1a8bc00cf67e053 /build-root/emacs-lisp
parent042ffb4f818fda559ec2c128f475b1258e657e45 (diff)
Bracket CLIB_PACKED(...) macros, which indent mangles
Change-Id: I39722d7b778e6e0dc5a2d12d005c102845159116 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'build-root/emacs-lisp')
-rwxr-xr-xbuild-root/emacs-lisp/fix-coding-style.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/build-root/emacs-lisp/fix-coding-style.el b/build-root/emacs-lisp/fix-coding-style.el
index 579f9c53558..4845ace5817 100755
--- a/build-root/emacs-lisp/fix-coding-style.el
+++ b/build-root/emacs-lisp/fix-coding-style.el
@@ -111,6 +111,9 @@
(defun fix-vnet-hw-interface-class () (interactive)
(fix-initializer "VNET_HW_INTERFACE_CLASS *("))
+(defun fix-clib-packed () (interactive)
+ (fix-initializer "CLIB_PACKED *("))
+
;; Driver routine which runs the set of functions
;; defined above, as well as the bottom boilerplate function
@@ -129,6 +132,7 @@
(fix-reply-macro2)
(fix-vnet-device-class)
(fix-vnet-hw-interface-class)
+ (fix-clib-packed)
(insert-style-boilerplate)
(if (boundp 'indent-offset-list)
(makunbound 'indent-offset-list)))