diff options
Diffstat (limited to 'mps/code/buffer.c')
| -rw-r--r-- | mps/code/buffer.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/mps/code/buffer.c b/mps/code/buffer.c index d9af5933fcd..12d5c2dcbf3 100644 --- a/mps/code/buffer.c +++ b/mps/code/buffer.c | |||
| @@ -1064,15 +1064,6 @@ void BufferRampReset(Buffer buffer) | |||
| 1064 | /* BufferClass -- support for the basic Buffer class */ | 1064 | /* BufferClass -- support for the basic Buffer class */ |
| 1065 | 1065 | ||
| 1066 | 1066 | ||
| 1067 | /* bufferTrivVarargs -- basic buffer varargs method */ | ||
| 1068 | |||
| 1069 | static void bufferTrivVarargs(ArgStruct args[MPS_ARGS_MAX], va_list varargs) { | ||
| 1070 | UNUSED(varargs); | ||
| 1071 | args[0].key = MPS_KEY_ARGS_END; | ||
| 1072 | AVER(ArgListCheck(args)); | ||
| 1073 | } | ||
| 1074 | |||
| 1075 | |||
| 1076 | /* bufferTrivInit -- basic buffer init method */ | 1067 | /* bufferTrivInit -- basic buffer init method */ |
| 1077 | 1068 | ||
| 1078 | static Res bufferTrivInit(Buffer buffer, Pool pool, ArgList args) | 1069 | static Res bufferTrivInit(Buffer buffer, Pool pool, ArgList args) |
| @@ -1215,7 +1206,7 @@ DEFINE_CLASS(BufferClass, class) | |||
| 1215 | INHERIT_CLASS(&class->protocol, ProtocolClass); | 1206 | INHERIT_CLASS(&class->protocol, ProtocolClass); |
| 1216 | class->name = "BUFFER"; | 1207 | class->name = "BUFFER"; |
| 1217 | class->size = sizeof(BufferStruct); | 1208 | class->size = sizeof(BufferStruct); |
| 1218 | class->varargs = bufferTrivVarargs; | 1209 | class->varargs = ArgTrivVarargs; |
| 1219 | class->init = bufferTrivInit; | 1210 | class->init = bufferTrivInit; |
| 1220 | class->finish = bufferTrivFinish; | 1211 | class->finish = bufferTrivFinish; |
| 1221 | class->attach = bufferTrivAttach; | 1212 | class->attach = bufferTrivAttach; |