diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-04 01:27:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-04 01:27:25 +0000 |
commit | a9a7ee4be858aabc23b25ea3ff61a18286bdc900 (patch) | |
tree | f4bc748d0696da043c8598d9b23be8faf8a89499 /util.h | |
parent | 594eb2e0fe69956a2945a5cd85b6ee4fcc8117a0 (diff) | |
download | ruby-a9a7ee4be858aabc23b25ea3ff61a18286bdc900.tar.gz |
* util.h: remove unnecessary parentheses. [ruby-dev:20879]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -41,7 +41,6 @@ unsigned long scan_hex _((const char*, int, int*)); #if defined(MSDOS) || defined(__CYGWIN32__) || defined(_WIN32) void ruby_add_suffix(); -#define add_suffix ruby_add_suffix #endif void ruby_qsort _((void*, const int, const int, int (*)())); @@ -51,17 +50,17 @@ 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)); +#define setenv(name,val) ruby_setenv(name,val) +#define unsetenv(name,val) ruby_unsetenv(name); char *ruby_strdup _((const char*)); #undef strdup -#define strdup(s) ruby_strdup((s)) +#define strdup(s) ruby_strdup(s) char *ruby_getcwd _((void)); #define my_getcwd() ruby_getcwd() double ruby_strtod _((const char*, char **)); -#define strtod(s,e) ruby_strtod((s),(e)) +#define strtod(s,e) ruby_strtod(s,e) #endif /* UTIL_H */ |