X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=session_file.c;h=08de48c2001d996b5e1295430fcd28b9e8475ed1;hb=1a081ca67d63a0bd933a3d715792d85afd437296;hp=184dd37597c58af524bd4113b30909398947c1e5;hpb=0146970797e809555b2feea9fdbc3933f9e24e8b;p=libsigrok.git
diff --git a/session_file.c b/session_file.c
index 184dd375..08de48c2 100644
--- a/session_file.c
+++ b/session_file.c
@@ -17,13 +17,13 @@
* along with this program. If not, see .
*/
-#include "config.h"
#include
#include
#include
#include
#include
#include
+#include "config.h"
#include "sigrok.h"
#include "sigrok-internal.h"
@@ -39,7 +39,7 @@ extern struct sr_device_plugin session_driver;
* SR_ERR_MALLOC upon memory allocation errors, or SR_ERR upon
* other errors.
*/
-int sr_session_load(const char *filename)
+SR_API int sr_session_load(const char *filename)
{
GKeyFile *kf;
GPtrArray *capturefiles;