diff options
author | Anton Staaf <robotboy@chromium.org> | 2011-03-02 09:22:25 -0800 |
---|---|---|
committer | Anton Staaf <robotboy@chromium.org> | 2011-03-02 09:22:25 -0800 |
commit | 2b6c88c2d98865ff7122a07c3ff7a9b65daf1f81 (patch) | |
tree | d951656f7c3a7feb2215ca53652e51ef88de908c | |
parent | c6244270f450f4e4502c452833a633454da6d3ce (diff) | |
download | nvidia-cbootimage-2b6c88c2d98865ff7122a07c3ff7a9b65daf1f81.tar.gz |
Fix tab stops to be 8-spaces instead of 4.
Change-Id: If70ee0c550a37ad7401552c231021b966b8e368f
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/6579041
-rw-r--r-- | .dir-locals.el | 14 | ||||
-rw-r--r-- | bct_dump.c | 10 | ||||
-rw-r--r-- | context.c | 4 |
3 files changed, 14 insertions, 14 deletions
diff --git a/.dir-locals.el b/.dir-locals.el index ad047f7..31a7ea7 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -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)))) @@ -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); } } @@ -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) |