diff options
author | David Sommerseth <davids@redhat.com> | 2014-01-09 19:50:05 +0100 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2014-01-09 19:50:05 +0100 |
commit | 8156c8880b5148fe2ea19950b2229e1bb80b431c (patch) | |
tree | 1a4dac301e3f58fac281bdad8f2f2fde0d859e82 /python-ethtool/etherinfo_struct.h | |
parent | a5308a1856bbf5268b9f51c87ec3da032c371a6f (diff) | |
download | python-ethtool-8156c8880b5148fe2ea19950b2229e1bb80b431c.tar.gz python-ethtool-8156c8880b5148fe2ea19950b2229e1bb80b431c.tar.xz python-ethtool-8156c8880b5148fe2ea19950b2229e1bb80b431c.zip |
cleanup: Rename etherinfo_py and ethtool_etherinfo_Type
Use PyEtherInfo and PyEtherInfoType the base names, to more easily see their
relation, and more clearly indicate they are Python objects.
Also remove an initialisation of PyEtherInfo/etherinfo_py not needed any more.
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'python-ethtool/etherinfo_struct.h')
-rw-r--r-- | python-ethtool/etherinfo_struct.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python-ethtool/etherinfo_struct.h b/python-ethtool/etherinfo_struct.h index 542a2b2..bcad291 100644 --- a/python-ethtool/etherinfo_struct.h +++ b/python-ethtool/etherinfo_struct.h @@ -50,7 +50,7 @@ typedef struct { int index; /**< NETLINK index reference */ PyObject *hwaddress; /**< string: HW address / MAC address of device */ unsigned short nlc_active; /**< Is this instance using NETLINK? */ -} etherinfo_py; +} PyEtherInfo; |