diff options
Diffstat (limited to 'mps/code/poolabs.c')
| -rw-r--r-- | mps/code/poolabs.c | 9 |
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 | ||
| 198 | void 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 | |||
| 205 | Res PoolTrivInit(Pool pool, ArgList args) | 198 | Res PoolTrivInit(Pool pool, ArgList args) |
| 206 | { | 199 | { |
| 207 | AVERT(Pool, pool); | 200 | AVERT(Pool, pool); |