diff options
| author | David Jones | 2007-07-11 12:41:04 +0100 |
|---|---|---|
| committer | David Jones | 2007-07-11 12:41:04 +0100 |
| commit | c8ee9141766c44d50a7c20267dbd820478afce5d (patch) | |
| tree | ca345694186af231ef778639e92679e80acda9a4 /mps/code/pool.c | |
| parent | 8684c0dcdc46c6ac8e6488069b87ab06671ab148 (diff) | |
| download | emacs-c8ee9141766c44d50a7c20267dbd820478afce5d.tar.gz emacs-c8ee9141766c44d50a7c20267dbd820478afce5d.zip | |
Mps: better c style.
Copied from Perforce
Change: 162854
ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code/pool.c')
| -rw-r--r-- | mps/code/pool.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/mps/code/pool.c b/mps/code/pool.c index a09f2292d65..05045b3f309 100644 --- a/mps/code/pool.c +++ b/mps/code/pool.c | |||
| @@ -28,7 +28,8 @@ | |||
| 28 | * central types for this module, are defined in <code/mpmst.h>, the | 28 | * central types for this module, are defined in <code/mpmst.h>, the |
| 29 | * corresponding abstract types in <code/mpmtypes.h>. Declarations and | 29 | * corresponding abstract types in <code/mpmtypes.h>. Declarations and |
| 30 | * prototypes are in <code/mpm.h>. Several functions have macro versions | 30 | * prototypes are in <code/mpm.h>. Several functions have macro versions |
| 31 | * defined in <code/mpm.h>. */ | 31 | * defined in <code/mpm.h>. |
| 32 | */ | ||
| 32 | 33 | ||
| 33 | #include "mpm.h" | 34 | #include "mpm.h" |
| 34 | 35 | ||
| @@ -406,7 +407,8 @@ Res PoolScan(Bool *totalReturn, ScanState ss, Pool pool, Seg seg) | |||
| 406 | 407 | ||
| 407 | /* PoolFix* -- fix a reference to an object in this pool | 408 | /* PoolFix* -- fix a reference to an object in this pool |
| 408 | * | 409 | * |
| 409 | * See <code/mpm.h> for macro version; see <design/pool/#req.fix>. */ | 410 | * See <code/mpm.h> for macro version; see <design/pool/#req.fix>. |
| 411 | */ | ||
| 410 | 412 | ||
| 411 | Res (PoolFix)(Pool pool, ScanState ss, Seg seg, Addr *refIO) | 413 | Res (PoolFix)(Pool pool, ScanState ss, Seg seg, Addr *refIO) |
| 412 | { | 414 | { |
| @@ -566,7 +568,8 @@ Bool PoolFormat(Format *formatReturn, Pool pool) | |||
| 566 | * | 568 | * |
| 567 | * If the address points to a page assigned to a pool, this returns TRUE | 569 | * If the address points to a page assigned to a pool, this returns TRUE |
| 568 | * and sets *poolReturn to that pool. Otherwise, it returns FALSE, and | 570 | * and sets *poolReturn to that pool. Otherwise, it returns FALSE, and |
| 569 | * *poolReturn is unchanged. */ | 571 | * *poolReturn is unchanged. |
| 572 | */ | ||
| 570 | 573 | ||
| 571 | Bool PoolOfAddr(Pool *poolReturn, Arena arena, Addr addr) | 574 | Bool PoolOfAddr(Pool *poolReturn, Arena arena, Addr addr) |
| 572 | { | 575 | { |