summaryrefslogtreecommitdiff
path: root/fastboot/bootimg_utils.h
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-03-26 01:08:47 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-03-26 01:08:47 +0000
commitd59d508a970a75e3ad79a67c1edf6775c1d6882c (patch)
tree58d5dc761fbce730be9a3c0e7637bfd7712e6827 /fastboot/bootimg_utils.h
parent2b57438a5176a445465d19c67c126f39e8f36c52 (diff)
parenta0e4c16c6b048ada37b259712ad710785858d2a3 (diff)
Snap for 7236705 from a0e4c16c6b048ada37b259712ad710785858d2a3 to sc-release
Change-Id: I9f3a1ca40ad263b292626aeb2edd23f4503cfd37
Diffstat (limited to 'fastboot/bootimg_utils.h')
-rw-r--r--fastboot/bootimg_utils.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/fastboot/bootimg_utils.h b/fastboot/bootimg_utils.h
index b7cf9bd90..0eb003d2f 100644
--- a/fastboot/bootimg_utils.h
+++ b/fastboot/bootimg_utils.h
@@ -35,7 +35,8 @@
#include <string>
#include <vector>
-boot_img_hdr_v2* mkbootimg(const std::vector<char>& kernel, const std::vector<char>& ramdisk,
- const std::vector<char>& second, const std::vector<char>& dtb,
- size_t base, const boot_img_hdr_v2& src, std::vector<char>* out);
+void mkbootimg(const std::vector<char>& kernel, const std::vector<char>& ramdisk,
+ const std::vector<char>& second, const std::vector<char>& dtb, size_t base,
+ const boot_img_hdr_v2& src, std::vector<char>* out);
+
void bootimg_set_cmdline(boot_img_hdr_v2* h, const std::string& cmdline);