From e8b5f432ab7d8ce546b5e788260ed6dca688e21c Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 5 Mar 2026 05:40:37 +0000 Subject: [PATCH] satisfy the requirements of ksh build with -DSMALL in the install media --- bin/ksh/var.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/ksh/var.c b/bin/ksh/var.c index 800ee1aaf78..9e0bd7c0c3f 100644 --- a/bin/ksh/var.c +++ b/bin/ksh/var.c @@ -1,4 +1,4 @@ -/* $OpenBSD: var.c,v 1.75 2026/03/05 05:38:58 deraadt Exp $ */ +/* $OpenBSD: var.c,v 1.76 2026/03/05 05:40:37 deraadt Exp $ */ #include #include @@ -1230,6 +1230,7 @@ set_array(const char *var, int reset, char **vals) } } +#ifndef SMALL void initcurses(void) { @@ -1242,3 +1243,4 @@ initcurses(void) del_curterm(cur_term); } } +#endif /* SMALL */