summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2008-11-23 18:11:05 +0000
committerJean Delvare <jdelvare@suse.de>2008-11-23 18:11:05 +0000
commit613274d06f21f65c43a241f59b4aaca4bf3c41a9 (patch)
treefdebb8dbfef52501f61456e551cbd6adf583f2eb
parenta167dbe9ae708c3daf598b4ad3f9c2b5be457061 (diff)
downloaddmidecode-git-613274d06f21f65c43a241f59b4aaca4bf3c41a9.tar.gz
Stop using the inline keyword. It causes more portability issues than is
worth given how little we care about performance in this tool, and recent versions of gcc know when to inline functions anyway.
-rw-r--r--biosdecode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/biosdecode.c b/biosdecode.c
index 6ebb833..8a08cfd 100644
--- a/biosdecode.c
+++ b/biosdecode.c
@@ -545,7 +545,7 @@ static struct bios_entry bios_entries[] = {
};
/* Believe it or not, this is significantly faster than memcmp and strncmp */
-static inline int anchor_match(const struct bios_entry *entry, const char *p)
+static int anchor_match(const struct bios_entry *entry, const char *p)
{
size_t i;