summaryrefslogtreecommitdiffstats
path: root/dmidecodemodule.h
diff options
context:
space:
mode:
authornima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-07-01 23:14:17 +0000
committernima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-07-01 23:14:17 +0000
commitc10adcd728be238d8579bf98075a2468f0143cc2 (patch)
tree4fa1bce13ff08de36ff95023af9356fa29c4c5bd /dmidecodemodule.h
parenta7a5cb531b86a75265f106b91d7033e45d754612 (diff)
downloadpython-dmidecode-c10adcd728be238d8579bf98075a2468f0143cc2.tar.gz
python-dmidecode-c10adcd728be238d8579bf98075a2468f0143cc2.tar.xz
python-dmidecode-c10adcd728be238d8579bf98075a2468f0143cc2.zip
Brought main() back into the python module and fixed malloc/free problems.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@7 abc39116-655e-4be6-ad55-d661dc543056
Diffstat (limited to 'dmidecodemodule.h')
-rw-r--r--dmidecodemodule.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmidecodemodule.h b/dmidecodemodule.h
index a1acf78..7ae0b4f 100644
--- a/dmidecodemodule.h
+++ b/dmidecodemodule.h
@@ -27,4 +27,4 @@ extern void dmi_table(u32 base, u16 len, u16 num, u16 ver, const char *devmem);
extern int smbios_decode(u8 *buf, const char *devmem);
extern int legacy_decode(u8 *buf, const char *devmem);
extern void *mem_chunk(size_t base, size_t len, const char *devmem);
-extern int main(int argc, char* const argv[]);
+extern u8 *parse_opt_type(u8 *p, const char *arg);