ruby-changes:71209
From: Peter <ko1@a...>
Date: Fri, 18 Feb 2022 23:31:31 +0900 (JST)
Subject: [ruby-changes:71209] 82513c7d71 (master): Remove unused function declaration in dln.c
https://git.ruby-lang.org/ruby.git/commit/?id=82513c7d71 From 82513c7d715c21c8045fd6420f79a3c4e40bd4ab Mon Sep 17 00:00:00 2001 From: Peter Zhu <peter@p...> Date: Fri, 18 Feb 2022 09:30:08 -0500 Subject: Remove unused function declaration in dln.c getenv is no longer used in dln.c. --- dln.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dln.c b/dln.c index 902f187283..3ebce48a45 100644 --- a/dln.c +++ b/dln.c @@ -72,10 +72,6 @@ void *xrealloc(); https://github.com/ruby/ruby/blob/trunk/dln.c#L72 # include <unistd.h> #endif -#ifndef _WIN32 -char *getenv(); -#endif - #ifndef dln_loaderror static void dln_loaderror(const char *format, ...) -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/