commit 804b62f7a2810bbfaf9c45616d35b9df7f13cc34
parent 3068ea231854c49c4ce55dae9a90a99a80d79909
Author: sin <sin@2f30.org>
Date: Sat, 28 Feb 2015 18:33:33 +0000
Fix broken sbase-box due to multiple definitions of usage
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/basename.c b/basename.c
@@ -5,7 +5,7 @@
#include "util.h"
-void
+static void
usage(void)
{
eprintf("usage: %s path [suffix]\n", argv0);
diff --git a/sed.c b/sed.c
@@ -125,7 +125,7 @@ void stracpy(String *dst, char *src);
void strnacpy(String *dst, char *src, size_t n);
/* Cleanup and errors */
-void usage(void);
+static void usage(void);
/* Parsing functions and related utilities */
void compile(char *s, int isfile);
@@ -365,7 +365,7 @@ leprintf(char *s)
}
/* FIXME: write usage message */
-void
+static void
usage(void)
{
eprintf("USAGE\n");