Fix const placement in a declaration 47/221547/1 accepted/tizen/unified/20200108.131431 submit/tizen/20200107.104336
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Fri, 3 Jan 2020 11:14:28 +0000 (12:14 +0100)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Fri, 3 Jan 2020 11:14:28 +0000 (12:14 +0100)
This fixes gcc 9.x compilation failure.

Change-Id: Ie44868d5914f1d6cef2a2c39b4355f48f6749417

src/shared/log.c

index fd08409473aa5e4320c87e9b24f8754b3f130542..45aec3e693cf8488ae5060ed870e9a2554cb252c 100644 (file)
@@ -59,7 +59,7 @@ static int stderr_bak = -1;
 
 static int log_level = LOG_DEBUG;
 
-static const char const *log_priority_name[] = {
+static const char *const log_priority_name[] = {
        [LOG_ALERT]   = "alert",
        [LOG_CRIT]    = "crit",
        [LOG_DEBUG]   = "debug",