diff options
author | Elliott Hughes <enh@google.com> | 2015-02-03 15:44:16 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-02-03 15:44:16 -0800 |
commit | 0068da6a9355fae96549f9f50289648971cd64cd (patch) | |
tree | 7cae7246573de9431b92ed4c027b583fe904087f /include | |
parent | e44d25d64537f4ea2abcb56aabc7a5bf0731c222 (diff) | |
download | system_core-0068da6a9355fae96549f9f50289648971cd64cd.zip system_core-0068da6a9355fae96549f9f50289648971cd64cd.tar.gz system_core-0068da6a9355fae96549f9f50289648971cd64cd.tar.bz2 |
android_reboot should take a const char*.
The kernel argument is actually a void*, but it's only read from.
Change-Id: I305c50249bf12b7fbdea4721257aed52a0372f8d
Diffstat (limited to 'include')
-rw-r--r-- | include/cutils/android_reboot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cutils/android_reboot.h b/include/cutils/android_reboot.h index 8c30e8e..85e1b7e 100644 --- a/include/cutils/android_reboot.h +++ b/include/cutils/android_reboot.h @@ -27,7 +27,7 @@ __BEGIN_DECLS /* Properties */ #define ANDROID_RB_PROPERTY "sys.powerctl" -int android_reboot(int cmd, int flags, char *arg); +int android_reboot(int cmd, int flags, const char *arg); __END_DECLS |