srm: fix build
This commit is contained in:
parent
77298444d6
commit
c35a489092
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue