diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-02-03 18:21:34 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-02-03 18:21:34 +0000 |
commit | 269592a892fd7b1e656dfe696b3c6fd7c033f5f1 (patch) | |
tree | 290d6d487116e9537e29f8f12fd465c26c5cc41f /gcc/cpplex.c | |
parent | 2da6090f5ee17e8f97ba8bacc6acc5b040bf75ea (diff) | |
download | gcc-269592a892fd7b1e656dfe696b3c6fd7c033f5f1.zip gcc-269592a892fd7b1e656dfe696b3c6fd7c033f5f1.tar.gz gcc-269592a892fd7b1e656dfe696b3c6fd7c033f5f1.tar.bz2 |
cpphash.h: Rename _ALIGN POOL_ALIGN.
* cpphash.h: Rename _ALIGN POOL_ALIGN.
* cpplex.c (new_chunk, _cpp_pool_reserve): Update.
From-SVN: r39434
Diffstat (limited to 'gcc/cpplex.c')
-rw-r--r-- | gcc/cpplex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cpplex.c b/gcc/cpplex.c index b23e56f..9025b05 100644 --- a/gcc/cpplex.c +++ b/gcc/cpplex.c @@ -1759,7 +1759,7 @@ new_chunk (size) unsigned char *base; cpp_chunk *result; - size = _ALIGN (size, DEFAULT_ALIGNMENT); + size = POOL_ALIGN (size, DEFAULT_ALIGNMENT); base = (unsigned char *) xmalloc (size + sizeof (cpp_chunk)); /* Put the chunk descriptor at the end. Then chunk overruns will cause obvious chaos. */ @@ -1826,7 +1826,7 @@ _cpp_pool_reserve (pool, len) cpp_pool *pool; unsigned int len; { - len = _ALIGN (len, pool->align); + len = POOL_ALIGN (len, pool->align); if (len > (unsigned int) POOL_ROOM (pool)) _cpp_next_chunk (pool, len, 0); |