Bracket CLIB_PACKED(...) macros, which indent mangles 52/2352/2
authorDave Barach <dave@barachs.net>
Thu, 11 Aug 2016 20:03:03 +0000 (16:03 -0400)
committerFlorin Coras <florin.coras@gmail.com>
Fri, 12 Aug 2016 16:02:31 +0000 (16:02 +0000)
Change-Id: I39722d7b778e6e0dc5a2d12d005c102845159116
Signed-off-by: Dave Barach <dave@barachs.net>
build-root/emacs-lisp/fix-coding-style.el

index 579f9c5..4845ace 100755 (executable)
 (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
 
        (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)))