]> sigrok.org Git - libsigrok.git/blobdiff - backend.c
build: Portability fixes.
[libsigrok.git] / backend.c
index 03e5f64feda077ca503abdc7d82868f2c1bea8e4..f650fe1206edb36bcf0eb0b023b036c84b0902ab 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -27,8 +27,6 @@
 #define LOG_PREFIX "backend"
 /** @endcond */
 
-extern struct sr_session *sr_current_session;
-
 /**
  * @mainpage libsigrok API
  *
@@ -360,7 +358,6 @@ SR_API int sr_init(struct sr_context **ctx)
 
        *ctx = context;
        context = NULL;
-       sr_current_session = NULL;
        ret = SR_OK;
 
 done: