VPP-237 Coding standards cleanup

Change-Id: I239143f920285050ad85244ece6893236195534f
Signed-off-by: Dave Barach <dave@barachs.net>
This commit is contained in:
Dave Barach
2016-08-05 18:09:54 -04:00
parent 310f7fe7a6
commit a8d77eda73
22 changed files with 13628 additions and 12265 deletions

View File

@ -68,6 +68,8 @@
(defun fix-vlib-register-node () (interactive)
(fix-initializer "VLIB_REGISTER_NODE *("))
(defun fix-reply-macro2 () (interactive)
(fix-initializer "REPLY_MACRO2 *("))
;; Driver routine which runs the set of functions
;; defined above, as well as the bottom boilerplate function
@ -83,6 +85,7 @@
(fix-vlib-register-thread)
(fix-vlib-cli-command)
(fix-vlib-register-node)
(fix-reply-macro2)
(insert-style-boilerplate))
@ -99,5 +102,8 @@
(message "Processing %s..." (elt argv index))
(find-file (elt argv index))
(fd-io-styleify)
(setq index (1+ index))
(save-buffers-kill-emacs t))))
(setq index (1+ index))))
(if (> index 0)
(save-buffers-kill-emacs t)))