summaryrefslogtreecommitdiff
path: root/ext/json/utf8_decode.h
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2015-04-18 17:51:42 -0700
committerStanislav Malyshev <stas@php.net>2015-04-18 17:56:33 -0700
commitd66cb721d41b4a0d18dfec612f8a19e1c9b4de75 (patch)
tree8a5a54eff82da29cdd605342d99da15017815c8d /ext/json/utf8_decode.h
parent1302eb7f7275c3f0b2b3af964dde91c44b769bbc (diff)
parent7e43b4f908711b4ad9708ed3460ef5a2d1776a22 (diff)
downloadphp-git-d66cb721d41b4a0d18dfec612f8a19e1c9b4de75.tar.gz
Merge remote-tracking branch 'github/pr/637' into PHP-5.6
* github/pr/637: Remove unused code from ext/json.
Diffstat (limited to 'ext/json/utf8_decode.h')
-rw-r--r--ext/json/utf8_decode.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/ext/json/utf8_decode.h b/ext/json/utf8_decode.h
deleted file mode 100644
index cc0fc79f6c..0000000000
--- a/ext/json/utf8_decode.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/* utf8_decode.h */
-
-#define UTF8_END -1
-#define UTF8_ERROR -2
-
-typedef struct json_utf8_decode
-{
- int the_index;
- char *the_input;
- int the_length;
- int the_char;
- int the_byte;
-} json_utf8_decode;
-
-extern int utf8_decode_at_byte(json_utf8_decode *utf8);
-extern int utf8_decode_at_character(json_utf8_decode *utf8);
-extern void utf8_decode_init(json_utf8_decode *utf8, char p[], int length);
-extern int utf8_decode_next(json_utf8_decode *utf8);