aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code/poolabs.c
diff options
context:
space:
mode:
authorRichard Brooksby2013-05-16 13:10:01 +0100
committerRichard Brooksby2013-05-16 13:10:01 +0100
commit818a65f36f4fe1931a53675ff2bc0e12307d58ef (patch)
tree9fa9f341cfaf31fc32b5512ad3980111f0240b91 /mps/code/poolabs.c
parentbb02f55b62ea785cb64bc60bebca8721dd52d886 (diff)
downloademacs-818a65f36f4fe1931a53675ff2bc0e12307d58ef.tar.gz
emacs-818a65f36f4fe1931a53675ff2bc0e12307d58ef.zip
Replacing duplicate *trivvarargs methods with a single implementation in args.c.
Copied from Perforce Change: 181851 ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code/poolabs.c')
-rw-r--r--mps/code/poolabs.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/mps/code/poolabs.c b/mps/code/poolabs.c
index c29f409ae9b..212fa76a44c 100644
--- a/mps/code/poolabs.c
+++ b/mps/code/poolabs.c
@@ -122,7 +122,7 @@ DEFINE_CLASS(AbstractPoolClass, class)
122 class->size = 0; 122 class->size = 0;
123 class->offset = 0; 123 class->offset = 0;
124 class->attr = 0; 124 class->attr = 0;
125 class->varargs = PoolTrivVarargs; 125 class->varargs = ArgTrivVarargs;
126 class->init = PoolTrivInit; 126 class->init = PoolTrivInit;
127 class->finish = PoolTrivFinish; 127 class->finish = PoolTrivFinish;
128 class->alloc = PoolNoAlloc; 128 class->alloc = PoolNoAlloc;
@@ -195,13 +195,6 @@ void PoolTrivFinish(Pool pool)
195 NOOP; 195 NOOP;
196} 196}
197 197
198void PoolTrivVarargs(ArgStruct args[MPS_ARGS_MAX], va_list varargs)
199{
200 UNUSED(varargs);
201 args[0].key = MPS_KEY_ARGS_END;
202 AVER(ArgListCheck(args));
203}
204
205Res PoolTrivInit(Pool pool, ArgList args) 198Res PoolTrivInit(Pool pool, ArgList args)
206{ 199{
207 AVERT(Pool, pool); 200 AVERT(Pool, pool);