X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=test%2Fnative%2Fstats.c;h=b1d71169f67972c87b26f18ef883aae29cbbd365;hb=7214994261f855c83ee4d40d4b068418e04dcc62;hp=b3cdd02417452f3f7b2f71825063ced9b87f7088;hpb=d0802e7d82be036108a7b91a01a091df0092b61d;p=vlc diff --git a/test/native/stats.c b/test/native/stats.c index b3cdd02417..b1d71169f6 100644 --- a/test/native/stats.c +++ b/test/native/stats.c @@ -1,15 +1,12 @@ #include "../pyunit.h" +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include -static PyObject *timers_test( PyObject *self, PyObject *args ) +PyObject *timers_test( PyObject *self, PyObject *args ) { Py_INCREF( Py_None ); return Py_None; } - -static PyMethodDef native_stats_test_methods[] = { - DEF_METHOD( timers_test, "Test timers" ) - { NULL, NULL, 0, NULL } -}; - -DECLARE_MODULE( native_stats_test )