SkDisk* disk;
} BlockDevice;
-PyTypeObject BlockDeviceType;
+extern PyTypeObject BlockDeviceType;
void BlockDevice_dealloc(BlockDevice* self);
int BlockDevice_get_identity(BlockDevice* device);
PyObject* BlockDevice_get_temperature(PyObject* self);
/* ping */
-PyObject* PyExc_PingError;
-PyObject* PyExc_PingAddHostError;
-PyObject* PyExc_PingNoReplyError;
+extern PyObject* PyExc_PingError;
+extern PyObject* PyExc_PingAddHostError;
+extern PyObject* PyExc_PingNoReplyError;
typedef struct {
PyObject_HEAD
} stats;
} PingObject;
-PyTypeObject PingType;
+extern PyTypeObject PingType;
void Ping_dealloc(PingObject* self);
void Ping_init_stats(PingObject* self);
const sensors_feature* feature;
} SensorObject;
-PyTypeObject SensorType;
+extern PyTypeObject SensorType;
void Sensor_dealloc(SensorObject* self);
PyObject* Sensor_new(PyTypeObject* type, PyObject* args, PyObject* kwds);