X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=extras%2Fbindings%2Fswig%2Fpython%2Flttng.i.in;h=b6b6f960eba7720955611e3adbeceaa3679195e2;hb=ceafd18e3e04be2f0d089439dfc3950237f39135;hp=e99c9aecf53750b1c31e54dc7db67d3c7a69990a;hpb=9792ace395bb0cd984230692a66a016cb541bc39;p=lttng-tools.git diff --git a/extras/bindings/swig/python/lttng.i.in b/extras/bindings/swig/python/lttng.i.in index e99c9aecf..b6b6f960e 100644 --- a/extras/bindings/swig/python/lttng.i.in +++ b/extras/bindings/swig/python/lttng.i.in @@ -29,6 +29,9 @@ multiple concurrent processes and threads. Tracing across multiple systems is al // This makes the typemap code useable with both Python 2 and 3. #define PyInt_AsSsize_t PyLong_AsSsize_t #endif + +// Avoid -Wmissing-declarations warning. +PyObject *SWIG_init(void); %} typedef unsigned int uint32_t;