Fix broken sbase-box due to multiple definitions of usage

This commit is contained in:
sin 2015-02-28 18:33:33 +00:00
parent 3068ea2318
commit 804b62f7a2
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
#include "util.h" #include "util.h"
void static void
usage(void) usage(void)
{ {
eprintf("usage: %s path [suffix]\n", argv0); eprintf("usage: %s path [suffix]\n", argv0);

4
sed.c
View File

@ -125,7 +125,7 @@ void stracpy(String *dst, char *src);
void strnacpy(String *dst, char *src, size_t n); void strnacpy(String *dst, char *src, size_t n);
/* Cleanup and errors */ /* Cleanup and errors */
void usage(void); static void usage(void);
/* Parsing functions and related utilities */ /* Parsing functions and related utilities */
void compile(char *s, int isfile); void compile(char *s, int isfile);
@ -365,7 +365,7 @@ leprintf(char *s)
} }
/* FIXME: write usage message */ /* FIXME: write usage message */
void static void
usage(void) usage(void)
{ {
eprintf("USAGE\n"); eprintf("USAGE\n");