X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=exception.c;h=1f30c80d95a440b2a8ab7c62fb08e1d24bc463bd;hp=a67600fa4f50a87eaba3667bcdb7e4b004040627;hb=55c3c5f4b9d38b85fae2c39a8a6150b4c50b1bdb;hpb=c9bfccc6347e05e6faba6f27fe0e50a7d55f531c diff --git a/exception.c b/exception.c index a67600f..1f30c80 100644 --- a/exception.c +++ b/exception.c @@ -24,7 +24,7 @@ #include #include /* Python header not pulled in by default. */ -void catch_exception(const char *format, ...) +SRD_PRIV void catch_exception(const char *format, ...) { PyObject *etype, *evalue, *etb, *py_str; PyTracebackObject *py_tb;