diff options
| author | David Sommerseth <davids@redhat.com> | 2009-06-09 16:48:15 +0200 |
|---|---|---|
| committer | David Sommerseth <davids@redhat.com> | 2009-06-09 16:48:15 +0200 |
| commit | bfbac44bd8c0fcddcdcfade6a15313560c9cc6eb (patch) | |
| tree | 23aa1bd8c8012429c00bf4f0f2210bf5d2a98675 /src/dmihelper.h | |
| parent | 4b22254e56bfdbec884a7f1cf634e340eff813c5 (diff) | |
| download | python-dmidecode-bfbac44bd8c0fcddcdcfade6a15313560c9cc6eb.tar.gz python-dmidecode-bfbac44bd8c0fcddcdcfade6a15313560c9cc6eb.tar.xz python-dmidecode-bfbac44bd8c0fcddcdcfade6a15313560c9cc6eb.zip | |
Big rewrite again, simplified the usage of opt->type
Instead of building up an u8 array with 255 cells where we only use one
cell at the time now, just pass the type id value as an int the whole way
through.
Diffstat (limited to 'src/dmihelper.h')
| -rw-r--r-- | src/dmihelper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dmihelper.h b/src/dmihelper.h index b0816b7..6607dc5 100644 --- a/src/dmihelper.h +++ b/src/dmihelper.h @@ -82,7 +82,7 @@ typedef struct _dmi_minor { typedef struct _options { const char *devmem; unsigned int flags; - u8 *type; + int type; xmlDoc *mappingxml; char *python_xml_map; xmlNode *dmiversion_n; |
