Commit
53e4bcf0af8586a6aa1c271bdd3c6d766e6f3c08
by Pau Espin Pedrolstream_cli: Move osmo_stream_cli_close() before osmo_stream_cli_reconnect()
The reconnect function is also calling the disconnect_cb() callback
through making use of osmo_stream_cli_close().
Hence, put the close() function further up in the file following the
dependency chaing, allowing removal of an extra declaration.
It also helps in seeing the whole related code together.
Furthermore, those functions will be split in a follow-up commit into
private helper functions so the order will become more relevant due to
being static and not appearing in a header file.
Change-Id: Ib7a7655f6a8aa45793ad8a43961f161c74d22e33