diff options
author | David Sommerseth <davids@redhat.com> | 2009-06-02 15:49:30 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2009-06-02 15:55:10 +0200 |
commit | e99e3408206624facbb040d9006278848e1f0ead (patch) | |
tree | a51acd4b31cb79bbcaf07f3091005c4d898ee51a /src/util.c | |
parent | 3149fdcec94191102fd801c7967a5e3cb5b330a7 (diff) | |
download | python-dmidecode-e99e3408206624facbb040d9006278848e1f0ead.tar.gz python-dmidecode-e99e3408206624facbb040d9006278848e1f0ead.tar.xz python-dmidecode-e99e3408206624facbb040d9006278848e1f0ead.zip |
Removed no longer needed function - is_int()
This function did not work as expected and due to the rewrite of xmlpythonizer,
this function is not longer needed.
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -190,12 +190,3 @@ int write_dump(size_t base, size_t len, const void *data, const char *dumpfile, return -1; } -long is_int(const char *s) -{ - long i = strtol(s, (char **)NULL, 10); - char _s[3]; - snprintf(_s, 3, "%ld", i); - return strcmp(s, _s)==0 ? i : -1; -} - - |