summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-02-03 15:44:16 -0800
committerElliott Hughes <enh@google.com>2015-02-03 15:44:16 -0800
commit0068da6a9355fae96549f9f50289648971cd64cd (patch)
tree7cae7246573de9431b92ed4c027b583fe904087f /include
parente44d25d64537f4ea2abcb56aabc7a5bf0731c222 (diff)
downloadsystem_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.h2
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