From 5efffc01353311b73625cc4731ef66333ed550de Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Wed, 28 Apr 2010 20:26:59 +0200 Subject: Clean up - avoid static variables in etherinfo_obj.h --- python-ethtool/ethtool.c | 1 + 1 file changed, 1 insertion(+) (limited to 'python-ethtool/ethtool.c') diff --git a/python-ethtool/ethtool.c b/python-ethtool/ethtool.c index 04d37ca..85c4737 100644 --- a/python-ethtool/ethtool.c +++ b/python-ethtool/ethtool.c @@ -31,6 +31,7 @@ #include "etherinfo.h" static struct _nlconnection nlconnection; +extern PyTypeObject ethtool_etherinfoType; #ifndef IFF_DYNAMIC #define IFF_DYNAMIC 0x8000 /* dialup device with changing addresses*/ -- cgit