]> sigrok.org Git - libsigrokdecode.git/blobdiff - exception.c
srd: Add/use SRD_API/SRD_PRIV macros.
[libsigrokdecode.git] / exception.c
index a67600fa4f50a87eaba3667bcdb7e4b004040627..1f30c80d95a440b2a8ab7c62fb08e1d24bc463bd 100644 (file)
@@ -24,7 +24,7 @@
 #include <glib.h>
 #include <frameobject.h> /* 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;