indent all of nvramtool to make it fit into coreboot's
coding style Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5007 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
766db7ea09
commit
90b96b68e0
@@ -81,17 +81,16 @@ typedef int (*is_printable_fn_t) (unsigned char c);
|
||||
* printable. A value of NULL will cause
|
||||
* default_is_printable_fn to be used.
|
||||
*--------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{ int bytes_per_line;
|
||||
int addrprint_width;
|
||||
const char *indent;
|
||||
const char *sep1;
|
||||
const char *sep2;
|
||||
const char *sep3;
|
||||
unsigned char nonprintable;
|
||||
is_printable_fn_t is_printable_fn;
|
||||
}
|
||||
hexdump_format_t;
|
||||
typedef struct {
|
||||
int bytes_per_line;
|
||||
int addrprint_width;
|
||||
const char *indent;
|
||||
const char *sep1;
|
||||
const char *sep2;
|
||||
const char *sep3;
|
||||
unsigned char nonprintable;
|
||||
is_printable_fn_t is_printable_fn;
|
||||
} hexdump_format_t;
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
* hexdump
|
||||
@@ -109,8 +108,8 @@ hexdump_format_t;
|
||||
* format: A structure specifying how the hex dump should be
|
||||
* formatted.
|
||||
*--------------------------------------------------------------------------*/
|
||||
void hexdump (const void *mem, int bytes, uint64_t addrprint_start,
|
||||
FILE *outfile, const hexdump_format_t *format);
|
||||
void hexdump(const void *mem, int bytes, uint64_t addrprint_start,
|
||||
FILE * outfile, const hexdump_format_t * format);
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
* default_is_printable_fn
|
||||
@@ -126,6 +125,6 @@ void hexdump (const void *mem, int bytes, uint64_t addrprint_start,
|
||||
* return value:
|
||||
* Return 1 if the input character is printable. Otherwise return 0.
|
||||
*--------------------------------------------------------------------------*/
|
||||
int default_is_printable_fn (unsigned char c);
|
||||
int default_is_printable_fn(unsigned char c);
|
||||
|
||||
#endif /* _HEXDUMP_H */
|
||||
#endif /* _HEXDUMP_H */
|
||||
|
Reference in New Issue
Block a user