am 8a2634c2: am 55732f49: Merge "android_reboot should take a const char*."

* commit '8a2634c2ab3914abeb43e0edf46fa69852b6b15d':
  android_reboot should take a const char*.
This commit is contained in:
Elliott Hughes 2015-02-04 15:03:49 +00:00 committed by Android Git Automerger
commit 814cb64fb4
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -89,7 +89,7 @@ static void remount_ro(void)
}
int android_reboot(int cmd, int flags UNUSED, char *arg)
int android_reboot(int cmd, int flags UNUSED, const char *arg)
{
int ret;