enventor - use const char instead of the macro

This commit is contained in:
ChunEon Park 2013-07-20 18:06:24 +09:00
parent e3599eeee8
commit 2afc90f23d
2 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,6 @@
#ifndef __COMMON_H__
#define __COMMON_H__
#define DEBUG_MODE 1
#ifdef DEBUG_MODE
@ -14,8 +13,7 @@
#define DFUNC_NAME()
#endif
#define PROTO_EDC_PATH "/tmp/.proto.edc"
extern const char *PROTO_EDC_PATH;
extern char EDJE_PATH[PATH_MAX];
struct attr_value_s

View File

@ -2,6 +2,7 @@
#include <Eio.h>
#include "common.h"
const char *PROTO_EDC_PATH = "/tmp/.proto.edc";
char EDJE_PATH[PATH_MAX];
struct app_s