mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/socket/ifaddr.c (IS_IFADDRS): Unused macro removed.
* ext/strscan/strscan.c (BUFSIZE): Ditto. * ext/zlib/zlib.c (OBJ_IS_FREED): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dd5d029db0
commit
543b402f38
4 changed files with 8 additions and 5 deletions
|
@ -1,3 +1,11 @@
|
|||
Mon May 12 01:30:59 2014 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/socket/ifaddr.c (IS_IFADDRS): Unused macro removed.
|
||||
|
||||
* ext/strscan/strscan.c (BUFSIZE): Ditto.
|
||||
|
||||
* ext/zlib/zlib.c (OBJ_IS_FREED): Ditto.
|
||||
|
||||
Sun May 11 22:27:18 2014 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* compile.c (BUFSIZE): Unused macro removed.
|
||||
|
|
|
@ -74,7 +74,6 @@ static const rb_data_type_t ifaddr_type = {
|
|||
{ifaddr_mark, ifaddr_free, ifaddr_memsize,},
|
||||
};
|
||||
|
||||
#define IS_IFADDRS(obj) rb_typeddata_is_kind_of((obj), &ifaddr_type)
|
||||
static inline rb_ifaddr_t *
|
||||
check_ifaddr(VALUE self)
|
||||
{
|
||||
|
|
|
@ -1138,7 +1138,6 @@ strscan_restsize(VALUE self)
|
|||
}
|
||||
|
||||
#define INSPECT_LENGTH 5
|
||||
#define BUFSIZE 256
|
||||
|
||||
/*
|
||||
* Returns a string that represents the StringScanner object, showing:
|
||||
|
|
|
@ -27,9 +27,6 @@
|
|||
|
||||
#define RUBY_ZLIB_VERSION "0.6.0"
|
||||
|
||||
|
||||
#define OBJ_IS_FREED(val) (RBASIC(val)->flags == 0)
|
||||
|
||||
#ifndef GZIP_SUPPORT
|
||||
#define GZIP_SUPPORT 1
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue