From aaeb6af9ab85685268769224ce8866d0f7a3a0a6 Mon Sep 17 00:00:00 2001 From: jca <> Date: Wed, 10 Jul 2024 14:17:58 +0000 Subject: Zap warning against __findenv usage, it is not exported by libc The comment probably made sense before guenther restricted the symbols exported by libc in 2015. --- src/lib/libc/stdlib/getenv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/lib/libc/stdlib/getenv.c b/src/lib/libc/stdlib/getenv.c index 054497b432..068d70a999 100644 --- a/src/lib/libc/stdlib/getenv.c +++ b/src/lib/libc/stdlib/getenv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getenv.c,v 1.12 2016/03/13 18:34:21 guenther Exp $ */ +/* $OpenBSD: getenv.c,v 1.13 2024/07/10 14:17:58 jca Exp $ */ /* * Copyright (c) 1987, 1993 * The Regents of the University of California. All rights reserved. @@ -39,8 +39,6 @@ * Sets offset to be the offset of the name/value combination in the * environmental array, for use by putenv(3), setenv(3) and unsetenv(3). * Explicitly removes '=' in argument name. - * - * This routine *should* be a static; don't use it. */ char * __findenv(const char *name, int len, int *offset) -- cgit v1.2.3-55-g6feb