]> sigrok.org Git - sigrok-cli.git/blobdiff - input.c
Remove unnecessary extern option variable declarations.
[sigrok-cli.git] / input.c
diff --git a/input.c b/input.c
index c483546000897a1a1c823f9052543a6327ab0e01..d2adde6998b7d4d396e314bf42dd0b5f67bc87f7 100644 (file)
--- a/input.c
+++ b/input.c
 #include <string.h>
 #include <glib.h>
 
-extern gchar *opt_input_file;
-extern gchar *opt_input_format;
-extern gchar *opt_probes;
-
-
 /**
  * Return the input file format which the CLI tool should use.
  *
@@ -131,7 +126,7 @@ static void load_input_file_format(void)
                }
        }
 
-       if (select_probes(in->sdi) != SR_OK)
+       if (select_channels(in->sdi) != SR_OK)
                return;
 
        sr_session_new();
@@ -165,7 +160,7 @@ void load_input_file(void)
                        return;
                }
                sdi = sessions->data;
-               if (select_probes(sdi) != SR_OK) {
+               if (select_channels(sdi) != SR_OK) {
                        sr_session_destroy();
                        return;
                }