diff options
| author | Nick Barnes | 2001-12-17 15:18:17 +0000 |
|---|---|---|
| committer | Nick Barnes | 2001-12-17 15:18:17 +0000 |
| commit | db4b3a6fa51ea452f62ed64612da5466d7bc292e (patch) | |
| tree | 4401c0c97d4df2e1c48ad06f263c27199e92d5dc /mps/code/format.c | |
| parent | c864931fe4271b6592ca4a76ce856938d263c74a (diff) | |
| download | emacs-db4b3a6fa51ea452f62ed64612da5466d7bc292e.tar.gz emacs-db4b3a6fa51ea452f62ed64612da5466d7bc292e.zip | |
Remove trailing whitespace.
Copied from Perforce
Change: 25309
ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code/format.c')
| -rw-r--r-- | mps/code/format.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mps/code/format.c b/mps/code/format.c index a0951c0b3a4..3fbf0972a9b 100644 --- a/mps/code/format.c +++ b/mps/code/format.c | |||
| @@ -38,7 +38,7 @@ Bool FormatCheck(Format format) | |||
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | 40 | ||
| 41 | static Addr FormatDefaultClass(Addr object) | 41 | static Addr FormatDefaultClass(Addr object) |
| 42 | { | 42 | { |
| 43 | AVER(object != NULL); | 43 | AVER(object != NULL); |
| 44 | 44 | ||
| @@ -66,7 +66,7 @@ Res FormatCreate(Format *formatReturn, Arena arena, | |||
| 66 | 66 | ||
| 67 | AVER(formatReturn != NULL); | 67 | AVER(formatReturn != NULL); |
| 68 | 68 | ||
| 69 | res = ControlAlloc(&p, arena, sizeof(FormatStruct), | 69 | res = ControlAlloc(&p, arena, sizeof(FormatStruct), |
| 70 | /* withReservoirPermit */ FALSE); | 70 | /* withReservoirPermit */ FALSE); |
| 71 | if(res != ResOK) | 71 | if(res != ResOK) |
| 72 | return res; | 72 | return res; |
| @@ -85,7 +85,7 @@ Res FormatCreate(Format *formatReturn, Arena arena, | |||
| 85 | if(class == NULL) { | 85 | if(class == NULL) { |
| 86 | format->class = &FormatDefaultClass; | 86 | format->class = &FormatDefaultClass; |
| 87 | } else { | 87 | } else { |
| 88 | AVER(variety == FormatVarietyB); | 88 | AVER(variety == FormatVarietyB); |
| 89 | format->class = class; | 89 | format->class = class; |
| 90 | } | 90 | } |
| 91 | if(headerSize != 0) { | 91 | if(headerSize != 0) { |
| @@ -100,7 +100,7 @@ Res FormatCreate(Format *formatReturn, Arena arena, | |||
| 100 | ++arena->formatSerial; | 100 | ++arena->formatSerial; |
| 101 | 101 | ||
| 102 | AVERT(Format, format); | 102 | AVERT(Format, format); |
| 103 | 103 | ||
| 104 | RingAppend(&arena->formatRing, &format->arenaRing); | 104 | RingAppend(&arena->formatRing, &format->arenaRing); |
| 105 | 105 | ||
| 106 | *formatReturn = format; | 106 | *formatReturn = format; |
| @@ -115,7 +115,7 @@ void FormatDestroy(Format format) | |||
| 115 | RingRemove(&format->arenaRing); | 115 | RingRemove(&format->arenaRing); |
| 116 | 116 | ||
| 117 | format->sig = SigInvalid; | 117 | format->sig = SigInvalid; |
| 118 | 118 | ||
| 119 | RingFinish(&format->arenaRing); | 119 | RingFinish(&format->arenaRing); |
| 120 | 120 | ||
| 121 | ControlFree(format->arena, format, sizeof(FormatStruct)); | 121 | ControlFree(format->arena, format, sizeof(FormatStruct)); |
| @@ -134,10 +134,10 @@ Arena FormatArena(Format format) | |||
| 134 | Res FormatDescribe(Format format, mps_lib_FILE *stream) | 134 | Res FormatDescribe(Format format, mps_lib_FILE *stream) |
| 135 | { | 135 | { |
| 136 | Res res; | 136 | Res res; |
| 137 | 137 | ||
| 138 | res = WriteF(stream, | 138 | res = WriteF(stream, |
| 139 | "Format $P ($U) {\n", (WriteFP)format, (WriteFU)format->serial, | 139 | "Format $P ($U) {\n", (WriteFP)format, (WriteFU)format->serial, |
| 140 | " arena $P ($U)\n", | 140 | " arena $P ($U)\n", |
| 141 | (WriteFP)format->arena, (WriteFU)format->arena->serial, | 141 | (WriteFP)format->arena, (WriteFU)format->arena->serial, |
| 142 | " alignment $W\n", (WriteFW)format->alignment, | 142 | " alignment $W\n", (WriteFW)format->alignment, |
| 143 | " scan $F\n", (WriteFF)format->scan, | 143 | " scan $F\n", (WriteFF)format->scan, |