diff options
author | Martin Mares <mj@ucw.cz> | 1998-12-06 11:59:18 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1998-12-06 11:59:18 +0000 |
commit | b35d72ac668c52ef0755cedba89bdca54bd995ac (patch) | |
tree | d968e72890f19ff3d2986c318787bd697e257a31 /conf/conf.h | |
parent | 2d9290e973b9cfc909057a0409152e020d1c29db (diff) |
Name cleanups as suggested by Pavel:
- cfg_strcpy() -> cfg_strdup()
- mempool -> linpool, mp_* -> lp_* [to avoid confusion with memblock, mb_*]
Anyway, it might be better to stop ranting about names and do some *real* work.
Diffstat (limited to 'conf/conf.h')
-rw-r--r-- | conf/conf.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/conf/conf.h b/conf/conf.h index 93d1edd7..974815a8 100644 --- a/conf/conf.h +++ b/conf/conf.h @@ -14,12 +14,12 @@ /* Pools */ extern pool *cfg_pool; -extern mempool *cfg_mem; +extern linpool *cfg_mem; -#define cfg_alloc(size) mp_alloc(cfg_mem, size) -#define cfg_allocu(size) mp_allocu(cfg_mem, size) -#define cfg_allocz(size) mp_allocz(cfg_mem, size) -char *cfg_strcpy(char *c); +#define cfg_alloc(size) lp_alloc(cfg_mem, size) +#define cfg_allocu(size) lp_allocu(cfg_mem, size) +#define cfg_allocz(size) lp_allocz(cfg_mem, size) +char *cfg_strdup(char *c); /* Lexer */ |