summaryrefslogtreecommitdiffstats
path: root/dmidecode.c
diff options
context:
space:
mode:
authornima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-07-01 06:01:21 +0000
committernima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-07-01 06:01:21 +0000
commiteb7958574ce98601433022d7d23343025c1e34b8 (patch)
tree2f9f0003beaff39d40a0f836ee035de330cea4de /dmidecode.c
parent4f5bfc68e416a7d1e6264e43278fe9b9df684eed (diff)
downloadpython-dmidecode-eb7958574ce98601433022d7d23343025c1e34b8.tar.gz
python-dmidecode-eb7958574ce98601433022d7d23343025c1e34b8.tar.xz
python-dmidecode-eb7958574ce98601433022d7d23343025c1e34b8.zip
Project progressing along excellently. The python module is now functional and
has as many methods as the --type option takes. Next is to expand and harness the code around the `--string' option. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@3 abc39116-655e-4be6-ad55-d661dc543056
Diffstat (limited to 'dmidecode.c')
-rw-r--r--dmidecode.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/dmidecode.c b/dmidecode.c
index 966b0d5..974f3f0 100644
--- a/dmidecode.c
+++ b/dmidecode.c
@@ -4042,8 +4042,7 @@ int address_from_efi(size_t *address)
return ret;
}
-#ifdef SO
-int main(int argc, char * const argv[])
+int submain(int argc, char * const argv[])
{
int ret=0; /* Returned value */
int found=0;
@@ -4137,4 +4136,3 @@ exit_free:
return ret;
}
-#endif