From 2a54c2ef48d7ed512c3a2e38fd85440924960850 Mon Sep 17 00:00:00 2001 From: Adrian Thurston Date: Sun, 15 Feb 2015 10:57:08 -0500 Subject: cleanup, including removal of map and list element pools --- src/pool.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/pool.c') diff --git a/src/pool.c b/src/pool.c index f5ac6fa9..f08f99b8 100644 --- a/src/pool.c +++ b/src/pool.c @@ -200,6 +200,7 @@ long parseTreeNumLost( Program *prg ) * ListEl */ +#if 0 ListEl *listElAllocate( Program *prg ) { return (ListEl*) poolAllocAllocate( &prg->listElPool ); @@ -219,11 +220,13 @@ long listElNumLost( Program *prg ) { return poolAllocNumLost( &prg->listElPool ); } +#endif /* * MapEl */ +#if 0 MapEl *mapElAllocate( Program *prg ) { return (MapEl*) poolAllocAllocate( &prg->mapElPool ); @@ -243,6 +246,7 @@ long mapElNumLost( Program *prg ) { return poolAllocNumLost( &prg->mapElPool ); } +#endif /* * Head @@ -296,6 +300,7 @@ long locationNumLost( Program *prg ) * Stream */ +#if 0 Stream *streamAllocate( Program *prg ) { return (Stream*)mapElAllocate( prg ); @@ -305,3 +310,4 @@ void streamFree( Program *prg, Stream *stream ) { mapElFree( prg, (MapEl*)stream ); } +#endif -- cgit v1.2.1