Make sr_session_iteration() static.
This function is not used outside of session.c at the moment, so make it static for now.
This commit is contained in:
parent
cdc30138c5
commit
1861be0baf
|
@ -116,7 +116,6 @@ SR_PRIV int sr_source_add(int fd, int events, int timeout,
|
||||||
|
|
||||||
/*--- session.c -------------------------------------------------------------*/
|
/*--- session.c -------------------------------------------------------------*/
|
||||||
|
|
||||||
SR_PRIV int sr_session_iteration(gboolean block);
|
|
||||||
SR_PRIV int sr_session_send(const struct sr_dev_inst *sdi,
|
SR_PRIV int sr_session_send(const struct sr_dev_inst *sdi,
|
||||||
const struct sr_datafeed_packet *packet);
|
const struct sr_datafeed_packet *packet);
|
||||||
SR_PRIV int sr_session_stop_sync(void);
|
SR_PRIV int sr_session_stop_sync(void);
|
||||||
|
|
|
@ -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.
|
* @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;
|
unsigned int i;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
Loading…
Reference in New Issue