summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHyunho Kang <hhstark.kang@samsung.com>2016-07-05 19:18:35 +0900
committerHyunho Kang <hhstark.kang@samsung.com>2016-07-05 19:19:17 +0900
commit6a5bd6c0657ef23e487b3dab71e90efe7a7ff229 (patch)
tree6fa3d06ba9179f22ccb70f4bbfb2a4b88c7a42ae /src
parenta36cb3a760de59fbc8394f449d3370aaa6223011 (diff)
downloadlibrua-6a5bd6c0657ef23e487b3dab71e90efe7a7ff229.tar.gz
librua-6a5bd6c0657ef23e487b3dab71e90efe7a7ff229.tar.bz2
librua-6a5bd6c0657ef23e487b3dab71e90efe7a7ff229.zip
Remove unused define
Change-Id: I8ff06359f000d848a6cb3e702b2fea975570037f Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/rua_util.c6
1 files 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 <linux/limits.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
@@ -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);