Fix tab stops to be 8-spaces instead of 4.

Change-Id: If70ee0c550a37ad7401552c231021b966b8e368f

BUG=None
TEST=None

Review URL: http://codereview.chromium.org/6579041
This commit is contained in:
Anton Staaf 2011-03-02 09:22:25 -08:00
parent c6244270f4
commit 2b6c88c2d9
3 changed files with 14 additions and 14 deletions

View File

@ -1,10 +1,10 @@
;;; This file is used by Emacs to configure it's code editing modes to correctly
;;; indent cbootimage style source code.
((nil . ((indent-tabs-mode . t)
(tab-width . 4)
(fill-column . 80)))
(c-mode . ((c-tab-always-indent . nil)
(c-basic-offset . 4)))
(c++-mode . ((c-tab-always-indent . nil)
(c-basic-offset . 4))))
((nil . ((indent-tabs-mode . t)
(tab-width . 8)
(fill-column . 80)))
(c-mode . ((c-basic-offset . 8)))
(c++-mode . ((c-basic-offset . 8))))

View File

@ -99,17 +99,17 @@ main(int argc, char *argv[])
}
e = context.bctlib.get_value(nvbct_lib_id_bootloader_used,
&bootloaders_used,
context.bct);
&bootloaders_used,
context.bct);
for (i = 0; (e == 0) && (i < bootloaders_used); ++i) {
printf("Bootloader[%d]\n", i);
for (j = 0; j < sizeof(bl_values) / sizeof(bl_values[0]); ++j) {
e = context.bctlib.getbl_param(i,
bl_values[j].id,
&data,
context.bct);
bl_values[j].id,
&data,
context.bct);
printf(bl_values[j].message, e == 0 ? data : -1);
}
}

View File

@ -32,9 +32,9 @@ query_alloc(build_image_context *context,
u_int32_t size;
/* Note: 3rd argument not used in this particular query. */
if (context->bctlib.get_value(size_id,
&size, context->bct) != 0)
if (context->bctlib.get_value(size_id, &size, context->bct) != 0)
return -ENODATA;
*dst = malloc(size);
if (*dst == NULL)