diff options
Diffstat (limited to 'libcpp/symtab.c')
-rw-r--r-- | libcpp/symtab.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libcpp/symtab.c b/libcpp/symtab.c index 73c421e..1107089 100644 --- a/libcpp/symtab.c +++ b/libcpp/symtab.c @@ -61,9 +61,7 @@ ht_create (unsigned int order) table = XCNEW (cpp_hash_table); /* Strings need no alignment. */ - _obstack_begin (&table->stack, 0, 0, - (void *(*) (long)) xmalloc, - (void (*) (void *)) free); + obstack_specify_allocation (&table->stack, 0, 0, xmalloc, free); obstack_alignment_mask (&table->stack) = 0; |