From c10adcd728be238d8579bf98075a2468f0143cc2 Mon Sep 17 00:00:00 2001 From: nima Date: Tue, 1 Jul 2008 23:14:17 +0000 Subject: 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 --- dmidecodemodule.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dmidecodemodule.h') 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); -- cgit