diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-11 13:29:16 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-11 13:29:16 +0000 |
commit | dd5d029db026a106a16a307854790c8bec6434ba (patch) | |
tree | 29f1e68100d8614ed616823a5e9e0b8e888d6e94 /pack.c | |
parent | 49771dd308505856126c84285a7acbdaf3400aa0 (diff) |
* compile.c (BUFSIZE): Unused macro removed.
* vm.c (BUFSIZE): Ditto.
* pack.c (INT64toNUM): Ditto.
(UINT64toNUM): Ditto.
(BYTEWIDTH): Ditto.
* time.c (lshift): Ditto.
(UINT64toNUM): Ditto.
(id_lshift): Unused variable removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'pack.c')
-rw-r--r-- | pack.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -70,14 +70,6 @@ static const char endstr[] = "sSiIlLqQ"; # define NATINT_LEN(type,len) ((int)sizeof(type)) #endif -#if SIZEOF_LONG == 8 -# define INT64toNUM(x) LONG2NUM(x) -# define UINT64toNUM(x) ULONG2NUM(x) -#elif defined(HAVE_LONG_LONG) && SIZEOF_LONG_LONG == 8 -# define INT64toNUM(x) LL2NUM(x) -# define UINT64toNUM(x) ULL2NUM(x) -#endif - #define define_swapx(x, xtype) \ static xtype \ TOKEN_PASTE(swap,x)(xtype z) \ @@ -1899,8 +1891,6 @@ pack_unpack(VALUE str, VALUE fmt) return ary; } -#define BYTEWIDTH 8 - int rb_uv_to_utf8(char buf[6], unsigned long uv) { |