projects
/
linux-libre-firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
carl9170 firmware: fix [-Wpacked-not-aligned] warnings
[linux-libre-firmware.git]
/
a56
/
main.c
diff --git
a/a56/main.c
b/a56/main.c
index cc03c7475122c5957000da2e3b3ad305b9c4d0cf..2d6b759c34f6fa58d37b92e34207235de208393d 100644
(file)
--- a/
a56/main.c
+++ b/
a56/main.c
@@
-9,6
+9,8
@@
/*
* Copyright (C) 2008 Robert Millan <rmh@aybabtu.com>
/*
* Copyright (C) 2008 Robert Millan <rmh@aybabtu.com>
+ * Copyright (C) 2012 Thorsten Alteholz <debian@alteholz.de>
+ * Copyright (C) 2014 Arthur Marble <arthur@info9.net>
*
* This file is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
*
* This file is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
@@
-51,7
+53,7
@@
static char *Copyright = "Copyright (C) 1990-1994 Quinn C. Jensen";
int pass;
int error, warning;
int pass;
int error, warning;
-extern unsigned
long
pc;
+extern unsigned
int
pc;
extern int seg;
BOOL binary_listing = FALSE;
BOOL list_includes = FALSE;
extern int seg;
BOOL binary_listing = FALSE;
BOOL list_includes = FALSE;
@@
-204,7
+206,7
@@
double f;
pass = 2; /* what a kludge */
yyerror("%s: multiply defined symbol", sym);
pass = 1;
pass = 2; /* what a kludge */
yyerror("%s: multiply defined symbol", sym);
pass = 1;
- return;
+ return
1
;
}
stop = &symtab[HASH(sym)];
sp = NEW(struct sym);
}
stop = &symtab[HASH(sym)];
sp = NEW(struct sym);
@@
-414,7
+416,7
@@
struct psect *pp;
int used, avail, of;
if(pp == NULL)
int used, avail, of;
if(pp == NULL)
- return;
+ return
1
;
used = pp->pc - pp->bottom;
avail = pp->top - pp->pc;
used = pp->pc - pp->bottom;
avail = pp->top - pp->pc;