summaryrefslogtreecommitdiff
path: root/dmiopt.h
diff options
context:
space:
mode:
authorkhali <khali>2008-10-28 09:03:34 +0000
committerkhali <khali>2008-10-28 09:03:34 +0000
commit674531b74b0a11324ae96e277aff271bea7944be (patch)
tree716076a8fabc995255b40d442f71720664522aeb /dmiopt.h
parent56bfc2c4ce8aa36e64145bf8ca33f5485a13b011 (diff)
downloaddmidecode-674531b74b0a11324ae96e277aff271bea7944be.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