]> sigrok.org Git - libsigrok.git/blobdiff - backend.c
sr: Mark API functions with SR_API/SR_PRIV.
[libsigrok.git] / backend.c
index 0e22e6ed00a5eddff32bf8ad70ca1b3edecc1ea9..8f5fd1f449e8e26b3efa11c10f2c09713036c72a 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -26,7 +26,7 @@
  *
  * @return SR_OK upon success, a (negative) error code otherwise.
  */
-int sr_init(void)
+SR_API int sr_init(void)
 {
        return load_hwplugins();
 }
@@ -36,7 +36,7 @@ int sr_init(void)
  *
  * @return SR_OK upon success, a (negative) error code otherwise.
  */
-int sr_exit(void)
+SR_API int sr_exit(void)
 {
        sr_cleanup_hwplugins();