]> sigrok.org Git - libsigrok.git/commitdiff
Make sr_session_iteration() static.
authorUwe Hermann <redacted>
Tue, 6 Aug 2013 22:34:06 +0000 (00:34 +0200)
committerUwe Hermann <redacted>
Wed, 7 Aug 2013 14:21:57 +0000 (16:21 +0200)
This function is not used outside of session.c at the moment, so make
it static for now.

libsigrok-internal.h
session.c

index 453c6583f093dd01a45763959a687f1290d5ce25..5fc0fbfabcea5303a3669a71c739fbbe7f6c6842 100644 (file)
@@ -116,7 +116,6 @@ SR_PRIV int sr_source_add(int fd, int events, int timeout,
 
 /*--- session.c -------------------------------------------------------------*/
 
-SR_PRIV int sr_session_iteration(gboolean block);
 SR_PRIV int sr_session_send(const struct sr_dev_inst *sdi,
                const struct sr_datafeed_packet *packet);
 SR_PRIV int sr_session_stop_sync(void);
index 514b620ab9f3ca3e2895757ca09387a70da2c1bd..15be92c8237a2b5a0c5627d250b9fadc4598995f 100644 (file)
--- a/session.c
+++ b/session.c
@@ -248,7 +248,7 @@ SR_API int sr_session_datafeed_callback_add(sr_datafeed_callback_t cb, void *cb_
  *
  * @return SR_OK upon success, SR_ERR on errors.
  */
-SR_PRIV int sr_session_iteration(gboolean block)
+static int sr_session_iteration(gboolean block)
 {
        unsigned int i;
        int ret;