mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
594eb2e0fe
commit
a9a7ee4be8
2 changed files with 8 additions and 5 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Aug 4 10:27:22 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* util.h: remove unnecessary parentheses. [ruby-dev:20879]
|
||||
|
||||
Mon Aug 4 10:00:47 2003 Shugo Maeda <shugo@ruby-lang.org>
|
||||
|
||||
* lib/net/imap.rb (receive_responses): raise exception to
|
||||
|
|
9
util.h
9
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 */
|
||||
|
|
Loading…
Reference in a new issue