diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-05-29 15:10:22 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-29 15:10:22 -0700 |
commit | 568f0134f19c0afb3dc30cb137cbfec1e1911a9c (patch) | |
tree | f80c36ce569e1d32be9e733bdbf8ac6f00673fff | |
parent | 3676ffd02275e8e9feac72b87cb837226ab4bedf (diff) | |
download | syslinux-568f0134f19c0afb3dc30cb137cbfec1e1911a9c.tar.gz |
Run Nindent on com32/include/syslinux/movebits.h
Automatically reformat com32/include/syslinux/movebits.h using Nindent.
Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | com32/include/syslinux/movebits.h | 43 |
1 files changed, 21 insertions, 22 deletions
diff --git a/com32/include/syslinux/movebits.h b/com32/include/syslinux/movebits.h index f0cb2774..54ee7ff9 100644 --- a/com32/include/syslinux/movebits.h +++ b/com32/include/syslinux/movebits.h @@ -11,10 +11,10 @@ typedef uint32_t addr_t; * is important, so no sorting requirement can be imposed. */ struct syslinux_movelist { - addr_t dst; - addr_t src; - addr_t len; - struct syslinux_movelist *next; + addr_t dst; + addr_t src; + addr_t len; + struct syslinux_movelist *next; }; /* @@ -27,22 +27,21 @@ struct syslinux_movelist { * by looking at the start of the next entry in the chain. */ enum syslinux_memmap_types { - SMT_ERROR = -2, /* Internal error token */ - SMT_END = -1, /* End of list */ - SMT_UNDEFINED = 0, /* Unknown range */ - SMT_FREE = 1, /* Available memory */ - SMT_RESERVED, /* Unusable memory */ - SMT_ALLOC, /* Memory allocated by user */ - SMT_ZERO, /* Memory that should be zeroed */ + SMT_ERROR = -2, /* Internal error token */ + SMT_END = -1, /* End of list */ + SMT_UNDEFINED = 0, /* Unknown range */ + SMT_FREE = 1, /* Available memory */ + SMT_RESERVED, /* Unusable memory */ + SMT_ALLOC, /* Memory allocated by user */ + SMT_ZERO, /* Memory that should be zeroed */ }; struct syslinux_memmap { - addr_t start; - enum syslinux_memmap_types type; - struct syslinux_memmap *next; + addr_t start; + enum syslinux_memmap_types type; + struct syslinux_memmap *next; }; - /* * moves is computed from "fraglist" and "memmap". Areas that are * to be zeroed should be marked as such in the memmap, not in the @@ -63,9 +62,9 @@ int syslinux_do_shuffle(struct syslinux_movelist *fraglist, struct syslinux_memmap *memmap, addr_t entry_point, addr_t entry_type, uint16_t bootflags); -struct syslinux_memmap * -syslinux_target_memmap(struct syslinux_movelist *fraglist, - struct syslinux_memmap *memmap); +struct syslinux_memmap *syslinux_target_memmap(struct syslinux_movelist + *fraglist, + struct syslinux_memmap *memmap); /* Operatons on struct syslinux_memmap */ struct syslinux_memmap *syslinux_init_memmap(void); @@ -76,15 +75,15 @@ enum syslinux_memmap_types syslinux_memmap_type(struct syslinux_memmap *list, addr_t start, addr_t len); int syslinux_memmap_largest(struct syslinux_memmap *list, enum syslinux_memmap_types type, - addr_t *start, addr_t *len); + addr_t * start, addr_t * len); void syslinux_free_memmap(struct syslinux_memmap *list); struct syslinux_memmap *syslinux_dup_memmap(struct syslinux_memmap *list); int syslinux_memmap_find(struct syslinux_memmap *list, enum syslinux_memmap_types type, - addr_t *start, addr_t *len, addr_t align); + addr_t * start, addr_t * len, addr_t align); /* Debugging functions */ -void syslinux_dump_movelist(FILE *file, struct syslinux_movelist *ml); -void syslinux_dump_memmap(FILE *file, struct syslinux_memmap *memmap); +void syslinux_dump_movelist(FILE * file, struct syslinux_movelist *ml); +void syslinux_dump_memmap(FILE * file, struct syslinux_memmap *memmap); #endif /* _SYSLINUX_MOVEBITS_H */ |