commit f7f1e147b5dbbf34617b8727e53acecbad67c24a
parent 3b550dd303689f06c7a20d479980e388f41474c9
Author: Louis Burda <quent.burda@gmail.com>
Date: Thu, 22 Jun 2023 15:08:18 +0200
Make functions static
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tquery.c b/tquery.c
@@ -81,7 +81,7 @@ sigint(int sig)
}
}
-void
+static void
swapfd(int fd1, int fd2)
{
int fd, rc;
@@ -142,7 +142,7 @@ nav_update_sel(struct nav *nav, int sel)
}
}
-char *
+static char *
findbin(const char *name)
{
static char buf[PATH_MAX];
@@ -421,7 +421,7 @@ input(void)
}
}
-void
+static void
usage(int rc, bool full)
{
fprintf(stderr, "Usage: tquery [OPT..] -- CMD [ARG..]\n");
@@ -437,7 +437,7 @@ usage(int rc, bool full)
exit(rc);
}
-void
+static void
parse(int argc, const char **argv)
{
const char **arg;