diff options
author | Joel Kitching <kitching@google.com> | 2019-08-20 17:43:50 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-08-28 07:32:05 +0000 |
commit | 9adf2aa24307937380debb703ac07b8093a25f61 (patch) | |
tree | b95c5bbb5259714ef86c125894267d0476cd62fe /host | |
parent | a762fa782793e7b13ba13ceed474f20c54afbdd3 (diff) | |
download | vboot-9adf2aa24307937380debb703ac07b8093a25f61.tar.gz |
vboot: fix up some headers, includes, comments, spacing
BUG=b:124141368
TEST=make clean && make runtests
BRANCH=none
Change-Id: Id97f544da845f7070555e5e8cc6e782b2d45c300
Signed-off-by: Joel Kitching <kitching@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1758151
Tested-by: Joel Kitching <kitching@chromium.org>
Reviewed-by: Joel Kitching <kitching@chromium.org>
Commit-Queue: Joel Kitching <kitching@chromium.org>
Diffstat (limited to 'host')
-rw-r--r-- | host/include/cgpt_params.h | 6 | ||||
-rw-r--r-- | host/include/crossystem.h | 2 | ||||
-rw-r--r-- | host/include/vboot_host.h | 7 | ||||
-rw-r--r-- | host/lib/fmap.c | 3 | ||||
-rw-r--r-- | host/lib/include/crossystem_arch.h | 2 | ||||
-rw-r--r-- | host/lib/include/fmap.h | 9 |
6 files changed, 14 insertions, 15 deletions
diff --git a/host/include/cgpt_params.h b/host/include/cgpt_params.h index 955524d9..b17a0b48 100644 --- a/host/include/cgpt_params.h +++ b/host/include/cgpt_params.h @@ -3,8 +3,8 @@ * found in the LICENSE file. */ -#ifndef VBOOT_REFERENCE_CGPT_CGPT_PARAMS_H_ -#define VBOOT_REFERENCE_CGPT_CGPT_PARAMS_H_ +#ifndef VBOOT_REFERENCE_CGPT_PARAMS_H_ +#define VBOOT_REFERENCE_CGPT_PARAMS_H_ #include <stdint.h> @@ -139,4 +139,4 @@ typedef struct CgptLegacyParams { } #endif /* __cplusplus */ -#endif /* VBOOT_REFERENCE_CGPT_CGPT_PARAMS_H_ */ +#endif /* VBOOT_REFERENCE_CGPT_PARAMS_H_ */ diff --git a/host/include/crossystem.h b/host/include/crossystem.h index 42b1b040..63e9ec76 100644 --- a/host/include/crossystem.h +++ b/host/include/crossystem.h @@ -49,4 +49,4 @@ int VbSetSystemPropertyString(const char* name, const char* value); } #endif -#endif /* VBOOT_REFERENCE__CROSSYSTEM_H_ */ +#endif /* VBOOT_REFERENCE_CROSSYSTEM_H_ */ diff --git a/host/include/vboot_host.h b/host/include/vboot_host.h index a8ad3154..81c5434f 100644 --- a/host/include/vboot_host.h +++ b/host/include/vboot_host.h @@ -5,8 +5,9 @@ * vboot-related functions exported for use by userspace programs */ -#ifndef VBOOT_HOST_H_ -#define VBOOT_HOST_H_ +#ifndef VBOOT_REFERENCE_VBOOT_HOST_H_ +#define VBOOT_REFERENCE_VBOOT_HOST_H_ + #include <inttypes.h> #include <stdint.h> #include <stdlib.h> @@ -76,4 +77,4 @@ int ExtractVmlinuz(void *kpart_data, size_t kpart_size, } #endif /* __cplusplus */ -#endif /* VBOOT_HOST_H_ */ +#endif /* VBOOT_REFERENCE_VBOOT_HOST_H_ */ diff --git a/host/lib/fmap.c b/host/lib/fmap.c index 347eef19..2609064d 100644 --- a/host/lib/fmap.c +++ b/host/lib/fmap.c @@ -1,5 +1,4 @@ -/* - * Copyright (c) 2011 The Chromium OS Authors. All rights reserved. +/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ diff --git a/host/lib/include/crossystem_arch.h b/host/lib/include/crossystem_arch.h index f02e0f73..6b94d445 100644 --- a/host/lib/include/crossystem_arch.h +++ b/host/lib/include/crossystem_arch.h @@ -93,4 +93,4 @@ int VbSetArchPropertyInt(const char* name, int value); * Returns 0 if success, -1 if error. */ int VbSetArchPropertyString(const char* name, const char* value); -#endif /* VBOOT_REFERENCE__CROSSYSTEM_ARCH_H_ */ +#endif /* VBOOT_REFERENCE_CROSSYSTEM_ARCH_H_ */ diff --git a/host/lib/include/fmap.h b/host/lib/include/fmap.h index 02f97c2d..4fddaae8 100644 --- a/host/lib/include/fmap.h +++ b/host/lib/include/fmap.h @@ -1,11 +1,10 @@ -/* - * Copyright (c) 2011 The Chromium OS Authors. All rights reserved. +/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ -#ifndef __FMAP_H__ -#define __FMAP_H__ +#ifndef VBOOT_REFERENCE_FMAP_H_ +#define VBOOT_REFERENCE_FMAP_H_ #include <inttypes.h> #include <stddef.h> @@ -55,4 +54,4 @@ uint8_t *fmap_find_by_name(uint8_t *ptr, size_t size, /* optional, return pointer to entry if not NULL */ FmapAreaHeader **ah); -#endif /* __FMAP_H__ */ +#endif /* VBOOT_REFERENCE_FMAP_H_ */ |