]> sigrok.org Git - sigrok-cli.git/blobdiff - anykey.c
Various #include file cosmetic fixes.
[sigrok-cli.git] / anykey.c
index 4126518e8a0801dc3700bdc3c0e86582668b47fd..eaa53f627aeb2af08243316bf64c478861448e34 100644 (file)
--- a/anykey.c
+++ b/anykey.c
@@ -17,7 +17,6 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "sigrok-cli.h"
 #include <stdio.h>
 #ifdef _WIN32
 #include <windows.h>
@@ -27,6 +26,7 @@
 #include <unistd.h>
 #include <string.h>
 #include <glib.h>
+#include "sigrok-cli.h"
 
 #ifdef _WIN32
 static HANDLE stdin_handle;
@@ -38,6 +38,7 @@ static struct termios term_orig;
 static int received_anykey(int fd, int revents, void *cb_data)
 {
        struct sr_session *session;
+
        (void)fd;
        (void)revents;