From 31d95c2386df8d3d5ec619a077960645d052fa38 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Sun, 24 Aug 2014 22:07:17 -0700 Subject: futility: Reformat to use kernel coding style This just reformats the futility sources to conform to the Linux kernel coding style. No functional changes. BUG=chromium:224734 BRANCH=ToT TEST=make runtests Change-Id: I82df07dd3f8be2ad2f3df24cebe00a9a378b13f4 Signed-off-by: Bill Richardson Reviewed-on: https://chromium-review.googlesource.com/213915 Reviewed-by: Randall Spangler --- futility/futility.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'futility/futility.h') diff --git a/futility/futility.h b/futility/futility.h index 387c7156..32c553db 100644 --- a/futility/futility.h +++ b/futility/futility.h @@ -10,9 +10,9 @@ /* Here's a structure to define the commands that futility implements. */ struct futil_cmd_t { - const char * const name; - int (*const handler)(int argc, char **argv); - const char * const shorthelp; + const char *const name; + int (*const handler) (int argc, char **argv); + const char *const shorthelp; }; /* @@ -33,7 +33,7 @@ struct futil_cmd_t { = &__cmd_##NAME /* This is the list of pointers to all commands. */ -extern const struct futil_cmd_t * const futil_cmds[]; +extern const struct futil_cmd_t *const futil_cmds[]; /* Size of an array */ #ifndef ARRAY_SIZE -- cgit v1.2.1