From 6a5bd6c0657ef23e487b3dab71e90efe7a7ff229 Mon Sep 17 00:00:00 2001 From: Hyunho Kang Date: Tue, 5 Jul 2016 19:18:35 +0900 Subject: [PATCH] Remove unused define Change-Id: I8ff06359f000d848a6cb3e702b2fea975570037f Signed-off-by: Hyunho Kang --- src/rua_util.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/rua_util.c b/src/rua_util.c index 0c0f23e..d478039 100644 --- a/src/rua_util.c +++ b/src/rua_util.c @@ -14,6 +14,7 @@ * limitations under the License. */ +#include #include #include #include @@ -27,12 +28,9 @@ #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); -- 2.7.4