The value of SYSTEM_SOCKET_PATH is just copied to another memory location using memcpy() (on the same function), therefore the static qualifier is unnecessary. --- android/system-emulator.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/android/system-emulator.c b/android/system-emulator.c index 2dc9ad8..f1c6622 100644 --- a/android/system-emulator.c +++ b/android/system-emulator.c @@ -185,8 +185,7 @@ static void signal_callback(int signum, void *user_data) int main(int argc, char *argv[]) { - static const char SYSTEM_SOCKET_PATH[] = "\0android_system"; - + const char SYSTEM_SOCKET_PATH[] = "\0android_system"; sigset_t mask; struct sockaddr_un addr; int fd; -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html