From 11531c4859ff58924174e80120a1efca11f89b16 Mon Sep 17 00:00:00 2001 From: jsg Date: Tue, 16 Dec 2025 02:57:26 +0000 Subject: [PATCH] static int, not int static c99 6.11.5: "The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature." --- usr.sbin/ikectl/ikeca.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/ikectl/ikeca.c b/usr.sbin/ikectl/ikeca.c index 6c41ec9ccaa..6ee600f056d 100644 --- a/usr.sbin/ikectl/ikeca.c +++ b/usr.sbin/ikectl/ikeca.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ikeca.c,v 1.52 2024/12/12 17:29:33 pascal Exp $ */ +/* $OpenBSD: ikeca.c,v 1.53 2025/12/16 02:57:26 jsg Exp $ */ /* * Copyright (c) 2010 Jonathan Gray @@ -117,7 +117,7 @@ void ca_setenv(const char *, const char *); void ca_clrenv(void); void ca_setcnf(struct ca *, const char *); void ca_create_index(struct ca *); -int static ca_execv(char *const []); +static int ca_execv(char *const []); /* util.c */ int expand_string(char *, size_t, const char *, const char *); @@ -1145,7 +1145,7 @@ ca_setup(char *caname, int create, int quiet, char *pass) return (ca); } -int static +static int ca_execv(char *const argv[]) { pid_t pid, cpid;