summaryrefslogtreecommitdiffstats
path: root/otautil/include
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2020-03-13 22:25:02 +0100
committerTianjie <xunchang@google.com>2020-03-18 21:46:49 +0100
commite8ca1b86347992d3c92db8e7a25ee77a6280787b (patch)
tree00ee997b3bfb0ea0243b38de336eec8593ac3f2c /otautil/include
parentMerge "Add more mounting options to updater mount function." into rvc-dev (diff)
downloadandroid_bootable_recovery-e8ca1b86347992d3c92db8e7a25ee77a6280787b.tar
android_bootable_recovery-e8ca1b86347992d3c92db8e7a25ee77a6280787b.tar.gz
android_bootable_recovery-e8ca1b86347992d3c92db8e7a25ee77a6280787b.tar.bz2
android_bootable_recovery-e8ca1b86347992d3c92db8e7a25ee77a6280787b.tar.lz
android_bootable_recovery-e8ca1b86347992d3c92db8e7a25ee77a6280787b.tar.xz
android_bootable_recovery-e8ca1b86347992d3c92db8e7a25ee77a6280787b.tar.zst
android_bootable_recovery-e8ca1b86347992d3c92db8e7a25ee77a6280787b.zip
Diffstat (limited to 'otautil/include')
-rw-r--r--otautil/include/otautil/sysutil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/otautil/include/otautil/sysutil.h b/otautil/include/otautil/sysutil.h
index 326db8644..d0d2e67d7 100644
--- a/otautil/include/otautil/sysutil.h
+++ b/otautil/include/otautil/sysutil.h
@@ -103,7 +103,7 @@ class MemMapping {
// Reboots the device into the specified target, by additionally handling quiescent reboot mode.
// All unknown targets reboot into Android.
-bool Reboot(std::string_view target);
+[[noreturn]] void Reboot(std::string_view target);
// Triggers a shutdown.
bool Shutdown(std::string_view target);