summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-04 01:27:25 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-04 01:27:25 +0000
commita9a7ee4be858aabc23b25ea3ff61a18286bdc900 (patch)
treef4bc748d0696da043c8598d9b23be8faf8a89499 /util.h
parent594eb2e0fe69956a2945a5cd85b6ee4fcc8117a0 (diff)
* 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.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/util.h b/util.h
index 4c470f3..a0999ca 100644
--- a/util.h
+++ b/util.h
@@ -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 */