[ucdn] Match upstream changes

This commit is contained in:
Behdad Esfahbod 2012-12-04 15:57:02 -05:00
parent a52f51b216
commit b5e04c7dc6
1 changed files with 8 additions and 8 deletions

View File

@ -20,13 +20,13 @@
#include "ucdn.h" #include "ucdn.h"
typedef struct { typedef struct {
const unsigned char category; unsigned char category;
const unsigned char combining; unsigned char combining;
const unsigned char bidi_class; unsigned char bidi_class;
const unsigned char mirrored; unsigned char mirrored;
const unsigned char east_asian_width; unsigned char east_asian_width;
const unsigned char normalization_check; unsigned char normalization_check;
const unsigned char script; unsigned char script;
} UCDRecord; } UCDRecord;
typedef struct { typedef struct {
@ -86,7 +86,7 @@ static const unsigned short *get_decomp_record(uint32_t code)
return &decomp_data[index]; return &decomp_data[index];
} }
static const int get_comp_index(uint32_t code, const Reindex *idx) static int get_comp_index(uint32_t code, const Reindex *idx)
{ {
int i; int i;