aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Zongker2011-10-28 12:33:05 -0500
committerDoug Zongker2011-10-31 12:24:09 -0500
commit28ce47cfa6919518a8c298088bf08b03bb374c0f (patch)
tree0c429bcc8f4a1935f3be97d87ebdc2f4434ee887 /bootloader.h
parentd0181b8fcdac761afec252151a8bfda116916e96 (diff)
downloadplatform-bootable-recovery-28ce47cfa6919518a8c298088bf08b03bb374c0f.tar.gz
platform-bootable-recovery-28ce47cfa6919518a8c298088bf08b03bb374c0f.tar.xz
platform-bootable-recovery-28ce47cfa6919518a8c298088bf08b03bb374c0f.zip
turn recovery into a C++ binary
Change-Id: I423a23581048d451d53eef46e5f5eac485b77555
Diffstat (limited to 'bootloader.h')
-rw-r--r--bootloader.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/bootloader.h b/bootloader.h
index 2e749aa1..712aa1a2 100644
--- a/bootloader.h
+++ b/bootloader.h
@@ -17,6 +17,10 @@
17#ifndef _RECOVERY_BOOTLOADER_H 17#ifndef _RECOVERY_BOOTLOADER_H
18#define _RECOVERY_BOOTLOADER_H 18#define _RECOVERY_BOOTLOADER_H
19 19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
20/* Bootloader Message 24/* Bootloader Message
21 * 25 *
22 * This structure describes the content of a block in flash 26 * This structure describes the content of a block in flash
@@ -47,4 +51,8 @@ struct bootloader_message {
47int get_bootloader_message(struct bootloader_message *out); 51int get_bootloader_message(struct bootloader_message *out);
48int set_bootloader_message(const struct bootloader_message *in); 52int set_bootloader_message(const struct bootloader_message *in);
49 53
54#ifdef __cplusplus
55}
56#endif
57
50#endif 58#endif