X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=instance.c;h=732bbc31f26a9139c937061a5e33a1238e07ae92;hb=f04964c696336f5699a099bbd64785f199d91f4c;hp=64fed5347548e65c4b475472e9de0d4ef07d8e47;hpb=f714f8f836b7cd20f9a5a41dc21bcc8584c87c3b;p=libsigrokdecode.git
diff --git a/instance.c b/instance.c
index 64fed53..732bbc3 100644
--- a/instance.c
+++ b/instance.c
@@ -18,8 +18,8 @@
* along with this program. If not, see .
*/
-#include "libsigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */
-#include "libsigrokdecode-internal.h"
+#include "libsigrokdecode-internal.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */
+#include "libsigrokdecode.h"
#include "config.h"
#include
#include
@@ -28,7 +28,7 @@
/** @cond PRIVATE */
-extern GSList *sessions;
+extern SRD_PRIV GSList *sessions;
/* type_logic.c */
extern SRD_PRIV PyTypeObject srd_logic_type;
@@ -192,7 +192,7 @@ static gint compare_channel_id(const struct srd_channel *pdch,
*
* @return SRD_OK upon success, a (negative) error code otherwise.
*
- * @since 0.1.0
+ * @since 0.3.0
*/
SRD_API int srd_inst_channel_set_all(struct srd_decoder_inst *di,
GHashTable *new_channels, int unit_size)