Update, fix, and extend manpage.
[sigrok-cli.git] / anykey.c
index 478e644c31edb156678bc36a6c73f76081442581..1e006b52d3f4ba718d61cbff31b6fb4ac3b4c10b 100644 (file)
--- a/anykey.c
+++ b/anykey.c
@@ -26,7 +26,7 @@
 #include <unistd.h>
 #include <string.h>
 #include <glib.h>
-#include <sigrok.h>
+#include <libsigrok/libsigrok.h>
 #include "sigrok-cli.h"
 
 #ifdef _WIN32
@@ -38,7 +38,6 @@ static struct termios term_orig;
 
 static int received_anykey(int fd, int revents, void *cb_data)
 {
-       /* Avoid compiler warnings. */
        (void)fd;
        (void)revents;
        (void)cb_data;