X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=parsers.c;h=f587f8d0e9da6701083a16283de0992e64b51c8f;hb=20fb52e08416238c60392b410f69856cc7d98650;hp=e94041764c36bc5ccf7034a7afe6f16b611aefd7;hpb=8ec203864b3a33b731c591034d06d55998210a79;p=sigrok-cli.git
diff --git a/parsers.c b/parsers.c
index e940417..f587f8d 100644
--- a/parsers.c
+++ b/parsers.c
@@ -17,15 +17,14 @@
* along with this program. If not, see .
*/
+#include "sigrok-cli.h"
#include
#include
#include
#include
#include
-#include
-#include "sigrok-cli.h"
-struct sr_probe *find_probe(GSList *probelist, const char *probename)
+static struct sr_probe *find_probe(GSList *probelist, const char *probename)
{
struct sr_probe *probe;
GSList *l;
@@ -183,7 +182,7 @@ GHashTable *parse_generic_arg(const char *arg, gboolean sep_first)
return hash;
}
-char *strcanon(const char *str)
+static char *strcanon(const char *str)
{
int p0, p1;
char *s;