diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-07 08:50:39 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-07 08:50:39 +0000 |
commit | b22b725c5db2c67b7732fffd21640c48aaa43925 (patch) | |
tree | 87670af5537b8aff88943490cde27bd2545f962c /include/ruby/util.h | |
parent | c0f48f23858dce0c3326d6cb667bd8004cf5e254 (diff) | |
download | ruby-b22b725c5db2c67b7732fffd21640c48aaa43925.tar.gz |
util.h: POSIX-noncompliant setenv
* include/ruby/util.h (setenv): remove POSIX-noncompliant
definition with 2 arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/util.h')
-rw-r--r-- | include/ruby/util.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/ruby/util.h b/include/ruby/util.h index e9343b3390..3b78e467b4 100644 --- a/include/ruby/util.h +++ b/include/ruby/util.h @@ -64,10 +64,6 @@ void ruby_qsort(void *, const size_t, const size_t, void ruby_setenv(const char *, const char *); void ruby_unsetenv(const char *); -#undef setenv -#undef unsetenv -#define setenv(name,val) ruby_setenv((name),(val)) -#define unsetenv(name,val) ruby_unsetenv(name) char *ruby_strdup(const char *); #undef strdup |