aboutsummaryrefslogtreecommitdiffstats
path: root/com32
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-11-14 13:11:30 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-11-14 13:11:30 -0800
commit9cc7b5988734fb4dcdc21f10c71bd58d89e2f41b (patch)
tree7853167d291c762121887163f8c09756850d0f85 /com32
parentdb74cf6c4182f40ecf7fad1f04799d09d82f896d (diff)
downloadsyslinux-9cc7b5988734fb4dcdc21f10c71bd58d89e2f41b.tar.gz
syslinux-9cc7b5988734fb4dcdc21f10c71bd58d89e2f41b.tar.xz
syslinux-9cc7b5988734fb4dcdc21f10c71bd58d89e2f41b.zip
disklib: remove improper "inline"
Remove improper inlines from static functions which cause gcc 4.5 to abort due to inlining failure. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32')
-rw-r--r--com32/gpllib/disk/msdos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/gpllib/disk/msdos.c b/com32/gpllib/disk/msdos.c
index affec43b..a4ee60fb 100644
--- a/com32/gpllib/disk/msdos.c
+++ b/com32/gpllib/disk/msdos.c
@@ -20,13 +20,13 @@
#include <disk/partition.h>
#include <disk/read.h>
-static inline int is_extended_partition(struct part_entry *ptab)
+static int is_extended_partition(struct part_entry *ptab)
{
return (ptab->ostype == 0x05 ||
ptab->ostype == 0x0f || ptab->ostype == 0x85);
}
-static inline int msdos_magic_present(const char *ptab)
+static int msdos_magic_present(const char *ptab)
{
return (*(uint16_t *) (ptab + 0x1fe) == 0xaa55);
}