commit d7fb03fe877c2237c803c6b504d8857b2eed8762
parent 0ecc54131c7f2d0addaeb8d597873ae56a3993c3
Author: Frederic Cambus <fred@statdns.com>
Date: Thu, 8 Oct 2020 18:56:58 +0200
Make displayUsage() and error() static.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/bdf2sfd.c b/src/bdf2sfd.c
@@ -50,7 +50,7 @@ char *intputFile;
uint64_t glyphes;
-void
+static void
displayUsage()
{
printf("bdf2sfd [-hv] [-f name] [-p name] file \n\n"
@@ -61,7 +61,7 @@ displayUsage()
" -v Display version.\n");
}
-void
+static void
error(const char *str)
{
errx(EXIT_FAILURE, "%s", str);