Remove unused define 01/78401/1
authorHyunho Kang <hhstark.kang@samsung.com>
Tue, 5 Jul 2016 10:18:35 +0000 (19:18 +0900)
committerHyunho Kang <hhstark.kang@samsung.com>
Tue, 5 Jul 2016 10:19:17 +0000 (19:19 +0900)
Change-Id: I8ff06359f000d848a6cb3e702b2fea975570037f
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
src/rua_util.c

index 0c0f23e..d478039 100644 (file)
@@ -14,6 +14,7 @@
  * limitations under the License.
  */
 
+#include <linux/limits.h>
 #include <unistd.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include "rua_util.h"
 
-#define DBPATH_LEN_MAX 4096
-#define ERR_BUF_MAX 1024
-
 char *_rua_util_get_db_path(uid_t uid, char *db_name)
 {
-       char db_path[DBPATH_LEN_MAX];
+       char db_path[PATH_MAX];
        const char *db_path_prefix;
 
        tzplatform_set_user(uid);