Merge "android_reboot should take a const char*."

This commit is contained in:
Elliott Hughes 2015-02-04 01:11:39 +00:00 committed by Gerrit Code Review
commit 55732f4928
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;