]> granicus.if.org Git - php/commitdiff
Remove unused IS_SJIS1 and IS_SJIS2 macros
authorAlex Dowad <alexinbeijing@gmail.com>
Mon, 12 Oct 2020 15:42:01 +0000 (17:42 +0200)
committerAlex Dowad <alexinbeijing@gmail.com>
Wed, 14 Oct 2020 06:31:51 +0000 (08:31 +0200)
ext/mbstring/mbstring.c

index 61ada4c79387d372309332dc5afd0cdd0f308546..e02b237bf7d3b0452f7e0e510d0761d37562836b 100644 (file)
@@ -1497,9 +1497,6 @@ PHP_FUNCTION(mb_preferred_mime_name)
 }
 /* }}} */
 
-#define IS_SJIS1(c) ((((c)>=0x81 && (c)<=0x9f) || ((c)>=0xe0 && (c)<=0xf5)) ? 1 : 0)
-#define IS_SJIS2(c) ((((c)>=0x40 && (c)<=0x7e) || ((c)>=0x80 && (c)<=0xfc)) ? 1 : 0)
-
 /* {{{ Parses GET/POST/COOKIE data and sets global variables */
 PHP_FUNCTION(mb_parse_str)
 {