mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
For some files:
indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs *.[ch] (trivial) Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@65 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
aecc25a2e1
commit
110c9f7e1c
8 changed files with 32 additions and 34 deletions
|
@ -36,4 +36,3 @@ struct mem_file {
|
|||
void *start;
|
||||
int len;
|
||||
};
|
||||
|
||||
|
|
|
@ -84,8 +84,12 @@ static inline int strcmp(const char *s1, const char *s2)
|
|||
static inline int isspace(int c)
|
||||
{
|
||||
switch (c) {
|
||||
case ' ': case '\f': case '\n':
|
||||
case '\r': case '\t': case '\v':
|
||||
case ' ':
|
||||
case '\f':
|
||||
case '\n':
|
||||
case '\r':
|
||||
case '\t':
|
||||
case '\v':
|
||||
return 1;
|
||||
default:
|
||||
return 0;
|
||||
|
@ -100,8 +104,7 @@ static inline int isdigit(int c)
|
|||
static inline int isxdigit(int c)
|
||||
{
|
||||
return ((c >= '0' && c <= '9') ||
|
||||
(c >= 'a' && c <= 'f') ||
|
||||
(c >= 'A' && c <= 'F'));
|
||||
(c >= 'a' && c <= 'f') || (c >= 'A' && c <= 'F'));
|
||||
}
|
||||
|
||||
static inline int isupper(int c)
|
||||
|
|
|
@ -3,4 +3,3 @@ extern struct chip_operations mainboard_emulation_qemu_i386_ops;
|
|||
struct mainboard_emulation_qemu_i386_config {
|
||||
int nothing;
|
||||
};
|
||||
|
||||
|
|
|
@ -34,5 +34,3 @@ int main(void)
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -25,4 +25,3 @@
|
|||
struct chip_operations mainboard_emulation_qemu_i386_ops = {
|
||||
.name = "QEMU Mainboard"
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue