diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-25 16:11:08 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-25 16:11:08 +0200 |
commit | 09a78560596ad9eeaf7f1737b716e9f724e2cd64 (patch) | |
tree | e3fa3d23193326f0e035a64dde3f962ae1a71acd /src/lib/eiotas_iota.c | |
parent | d89e43afd54b8419476d83ab2ab422d7e0bb47af (diff) | |
download | edoors-09a78560596ad9eeaf7f1737b716e9f724e2cd64.zip edoors-09a78560596ad9eeaf7f1737b716e9f724e2cd64.tar.gz |
add prefix to #define identifiers
Diffstat (limited to 'src/lib/eiotas_iota.c')
-rw-r--r-- | src/lib/eiotas_iota.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/eiotas_iota.c b/src/lib/eiotas_iota.c index 79c45b2..1a1f7f8 100644 --- a/src/lib/eiotas_iota.c +++ b/src/lib/eiotas_iota.c @@ -26,7 +26,7 @@ int eiotas_iota_init(Eiotas_Iota *iota, const char *name, Eiotas_Iota *parent, Eiotas_Type type) { int ln, lp; - char tmp[MAX_PATH_LENGTH]; + char tmp[EIOTAS_MAX_PATH_LENGTH]; ln = strlen(name); if(name==NULL || ln==0) { @@ -39,8 +39,8 @@ int eiotas_iota_init(Eiotas_Iota *iota, const char *name, Eiotas_Iota *parent, E iota->parent = parent; if(parent) { lp = eina_stringshare_strlen(parent->path); - if((ln+lp+2)>MAX_PATH_LENGTH) { - ERR("path length %d is > MAX_PATH_LENGTH (%d)",(ln+lp+2),MAX_PATH_LENGTH); + if((ln+lp+2)>EIOTAS_MAX_PATH_LENGTH) { + ERR("path length %d is > EIOTAS_MAX_PATH_LENGTH (%d)",(ln+lp+2),EIOTAS_MAX_PATH_LENGTH); return 1; } memcpy(tmp,parent->path,lp); |