summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-02-08 08:18:12 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-02-08 08:18:12 +0000
commitd26f04b300fc3a9e00a77de471fc6130c21229f5 (patch)
treeb79537be6167fa35e6edc4c01716296f3a9dc44d /usr.bin
parent0718a9bcf12617f2a4d11e42c36d9cb9a4cc7705 (diff)
sed: add missing void to avoid -Wstrict-prototype with clang 15
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/sed/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/sed/main.c b/usr.bin/sed/main.c
index db4bf3c1e03..9450d5b7433 100644
--- a/usr.bin/sed/main.c
+++ b/usr.bin/sed/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.43 2022/12/04 23:50:49 cheloha Exp $ */
+/* $OpenBSD: main.c,v 1.44 2023/02/08 08:18:11 tb Exp $ */
/*-
* Copyright (c) 1992 Diomidis Spinellis.
@@ -478,7 +478,7 @@ add_file(char *s)
static int
-next_files_have_lines()
+next_files_have_lines(void)
{
struct s_flist *file;
FILE *file_fd;