summaryrefslogtreecommitdiff
path: root/dmiopt.h
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2008-10-28 09:03:34 +0000
committerJean Delvare <jdelvare@suse.de>2008-10-28 09:03:34 +0000
commitfe3a5a0f36dd1e10bb5153bd57c68dc23c686366 (patch)
tree716076a8fabc995255b40d442f71720664522aeb /dmiopt.h
parente604a9ef42525fa58f2d90e154ce2c4e689e9140 (diff)
downloaddmidecode-git-fe3a5a0f36dd1e10bb5153bd57c68dc23c686366.tar.gz
Don't use function pointers for special string cases. Each special case is
itself special and needs to call a function with its own prototype, so better have dedicated code to handle it all.
Diffstat (limited to 'dmiopt.h')
-rw-r--r--dmiopt.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/dmiopt.h b/dmiopt.h
index 0882154..17f1849 100644
--- a/dmiopt.h
+++ b/dmiopt.h
@@ -24,8 +24,6 @@ struct string_keyword
const char *keyword;
u8 type;
u8 offset;
- const char *(*lookup)(u16);
- void (*print)(u8 *, u16);
};
struct opt