From 4b7c503707b36dd0d3ff3ee8479d3f0a2302a4cb Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 8 Feb 2023 08:18:11 +0000 Subject: [PATCH] sed: add missing void to avoid -Wstrict-prototype with clang 15 --- usr.bin/sed/main.c | 4 ++-- 1 file 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; -- 2.20.1