Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55732f49 authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "android_reboot should take a const char*."

parents e44d25d6 0068da6a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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

+1 −1
Original line number Diff line number Diff line
@@ -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;