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

* commit '55732f49287a75f9baabe9f150443aec9234c90d':
  android_reboot should take a const char*.
This commit is contained in:
Elliott Hughes 2015-02-04 01:20:40 +00:00 committed by Android Git Automerger
commit 8a2634c2ab
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;