srm: fix build

This commit is contained in:
Kyle Isom 2024-05-23 11:09:08 -07:00
parent 77298444d6
commit c35a489092
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ MANDIR ?= $MANDIR
CFLAGS += -Wall -Wextra -pedantic -Wshadow -Wpointer-arith -Wcast-align
CFLAGS += -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations
CFLAGS += -Wnested-externs -Winline -Wno-long-long -Wunused-variable
CFLAGS += -Wstrict-prototypes -Werror -ansi -static
CFLAGS += -Wstrict-prototypes -Werror -ansi
CFLAGS += -D$(TARGET)_VERSION="\"$(TARGET) version $(VERSION)\""
CFLAGS += OS_CFLAGS
all: $(TARGET)

View File

@ -340,7 +340,7 @@ rmdirs(const char *path, size_t passes)
* print a quick usage message
*/
void
usage()
usage(void)
{
version();
printf("usage: %s [-v] [-n number] files\n", __progname);
@ -361,7 +361,7 @@ usage()
* print program version information
*/
void
version()
version(void)
{
printf("%s\n", srm_VERSION);
}