summaryrefslogtreecommitdiff
path: root/gcc/cpplex.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-03 17:52:31 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-03 17:52:31 +0000
commit498f6d3f67808b0100f57c084d9c30d3e7287537 (patch)
tree86062db6fc94a267a6b9243f4594ef66a8745a99 /gcc/cpplex.c
parentaea5bc2904684150d156cb1442553dba7344c5aa (diff)
downloadgcc-498f6d3f67808b0100f57c084d9c30d3e7287537.tar.gz
* cpphash.h: Rename ALIGN _ALIGN.
* cpplex.c (new_chunk, _cpp_pool_reserve): Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39433 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpplex.c')
-rw-r--r--gcc/cpplex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cpplex.c b/gcc/cpplex.c
index 3ff23b4abac..b23e56fcdfd 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 = _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 = _ALIGN (len, pool->align);
if (len > (unsigned int) POOL_ROOM (pool))
_cpp_next_chunk (pool, len, 0);