am 55732f49
: Merge "android_reboot should take a const char*."
* commit '55732f49287a75f9baabe9f150443aec9234c90d': android_reboot should take a const char*.
This commit is contained in:
commit
8a2634c2ab
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue