summaryrefslogtreecommitdiff
path: root/ext/mbstring/ucgendat
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2015-01-03 01:22:58 -0800
committerStanislav Malyshev <stas@php.net>2015-01-10 15:07:38 -0800
commitb7a7b1a624c97945c0aaa49d46ae996fc0bdb6bc (patch)
tree0e09490075ee4f9a75a77ef4168d8ee254c52e5b /ext/mbstring/ucgendat
parent773c8b0c092a0e9ad5c5548815bcb9991d54d5c1 (diff)
downloadphp-git-b7a7b1a624c97945c0aaa49d46ae996fc0bdb6bc.tar.gz
trailing whitespace removal
Diffstat (limited to 'ext/mbstring/ucgendat')
-rw-r--r--ext/mbstring/ucgendat/ucgendat.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/ext/mbstring/ucgendat/ucgendat.c b/ext/mbstring/ucgendat/ucgendat.c
index 6fb1e095b2..8b735738b1 100644
--- a/ext/mbstring/ucgendat/ucgendat.c
+++ b/ext/mbstring/ucgendat/ucgendat.c
@@ -461,7 +461,7 @@ add_decomp(ac_uint4 code, short compat)
pdecomps_used = &decomps_used;
pdecomps_size = &decomps_size;
}
-
+
/*
* Add the code to the composite property.
*/
@@ -965,7 +965,7 @@ read_cdata(FILE *in)
i++;
}
for (e = s; *e && *e != ';'; e++) ;
-
+
ordered_range_insert(code, s, e - s);
/*
@@ -1139,7 +1139,7 @@ find_decomp(ac_uint4 code, short compat)
{
long l, r, m;
_decomp_t *decs;
-
+
l = 0;
r = (compat ? kdecomps_used : decomps_used) - 1;
decs = compat ? kdecomps : decomps;
@@ -1520,12 +1520,12 @@ write_cdata(char *opath)
* Generate the composition data.
*
*****************************************************************/
-
+
/*
* Create compositions from decomposition data
*/
create_comps();
-
+
#if HARDCODE_DATA
fprintf(out, PREF "ac_uint4 _uccomp_size = %ld;\n\n",
comps_used * 4L);
@@ -1553,28 +1553,28 @@ write_cdata(char *opath)
snprintf(path, sizeof path, "%s" LDAP_DIRSEP "comp.dat", opath);
if ((out = fopen(path, "wb")) == 0)
return;
-
+
/*
* Write the header.
*/
hdr[1] = (ac_uint2) comps_used * 4;
fwrite((char *) hdr, sizeof(ac_uint2), 2, out);
-
+
/*
* Write out the byte count to maintain header size.
*/
bytes = comps_used * sizeof(_comp_t);
fwrite((char *) &bytes, sizeof(ac_uint4), 1, out);
-
+
/*
* Now, if comps exist, write them out.
*/
if (comps_used > 0)
fwrite((char *) comps, sizeof(_comp_t), comps_used, out);
-
+
fclose(out);
#endif
-
+
/*****************************************************************
*
* Generate the decomposition data.