diff options
author | Jean Delvare <jdelvare@suse.de> | 2008-11-23 18:11:05 +0000 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2008-11-23 18:11:05 +0000 |
commit | 613274d06f21f65c43a241f59b4aaca4bf3c41a9 (patch) | |
tree | fdebb8dbfef52501f61456e551cbd6adf583f2eb /biosdecode.c | |
parent | a167dbe9ae708c3daf598b4ad3f9c2b5be457061 (diff) | |
download | dmidecode-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.
Diffstat (limited to 'biosdecode.c')
-rw-r--r-- | biosdecode.c | 2 |
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; |