diff options
author | Jeremy Jackson <jerj@coplanar.net> | 2007-04-11 18:44:42 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2007-04-11 18:44:42 +0000 |
commit | 46d65e85a1c0449f86497264d5958b3d85784767 (patch) | |
tree | 5cdc08216595f7de00c1df21ddc0d188d39b022e /util/getpir/checksum.h | |
parent | 4880353e03c62baacecaf634bc66c91be423f853 (diff) |
Jeremy Jackson wrote:
I'm guessing nobody has tried compiling it with 64bit userspace?
Patch makes it compile cleanly and stops a "SEGV instead of working"
issue.
I also added a few checks for errors on system calls.
Signed-off-by: Jeremy Jackson <jerj@coplanar.net>
Reworked and
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2602 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/getpir/checksum.h')
-rw-r--r-- | util/getpir/checksum.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/getpir/checksum.h b/util/getpir/checksum.h index b5de899845..2acc433b75 100644 --- a/util/getpir/checksum.h +++ b/util/getpir/checksum.h @@ -1,6 +1,6 @@ #ifndef __CHECKSUM_H__ #define __CHECKSUM_H__ -extern int calc_checksum(struct irq_routing_table *rt); +int calc_checksum(struct irq_routing_table *rt); -#endif /* __CHECKSUN_H__ */ +#endif /* __CHECKSUM_H__ */ |