summaryrefslogtreecommitdiff
path: root/src/psaux/t1cmap.c
diff options
context:
space:
mode:
authorDavid Turner <david@freetype.org>2002-04-12 09:31:48 +0000
committerDavid Turner <david@freetype.org>2002-04-12 09:31:48 +0000
commitd15bc0d13a163995e1ca11925349bd64d1c33617 (patch)
tree94d8c870411e0c28415e8ad651b7427d6d630f59 /src/psaux/t1cmap.c
parent0cc456aa1a0e0fcffcdd73b4a3094bf5c3a7da96 (diff)
downloadfreetype2-d15bc0d13a163995e1ca11925349bd64d1c33617.tar.gz
* README.UNX: updated the Unix-specific quick-compilation guide to
warn about the GNU Make requirement at compile time.. * include/freetype/config/ftstdlib.h, include/freetype/config/ftconfig.h, include/freetype/config/ftheader.h, include/freetype/internal/ftmemory.h, include/freetype/internal/ftobjs.h, src/autohint/ahoptim.c, src/base/ftdbgmem.c, src/base/ftdebug.c, src/base/ftmac.c, src/base/ftobjs.c, src/base/ftsystem.c, src/cache/ftcimage.c, src/cache/ftcsbits.c, src/cff/cffdriver.c, src/cff/cffload.c, src/cff/cffobjs.c, src/cid/cidload.c, src/cid/cidparse.c, src/cid/cidriver.c, src/pcf/pcfdriver.c, src/pcf/pcfread.c, src/psaux/t1cmap.c, src/psaux/t1decode.c, src/pshinter/pshalgo1.c, src/pshinter/pshalgo2.c, src/pshinter/pshrec.c, src/psnames/psmodule.c, src/raster/ftraster.c, src/sfnt/sfdriver.c, src/sfnt/ttload.c, src/sfnt/ttpost.c, src/smooth/ftgrays.c, src/type1/t1afm.c, src/type1/t1driver.c, src/type1/t1gload.c, src/type1/t1load.c, src/type1/t1objs.c, src/type1/t1parse.c: added the new configuration file "ftstdlib.h" used to define aliases for all ISO C library functions used by the engine (e.g. strlen, qsort, setjmp, etc...) this eases the porting of FreeType 2 to exotic environments like XFree86 modules/extensions.. also removed many #include <string.h>, #include <stdlib.h>, etc... from the engine's sources where they're not needed..
Diffstat (limited to 'src/psaux/t1cmap.c')
-rw-r--r--src/psaux/t1cmap.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/psaux/t1cmap.c b/src/psaux/t1cmap.c
index 5fd8b9f44..7757f7f58 100644
--- a/src/psaux/t1cmap.c
+++ b/src/psaux/t1cmap.c
@@ -17,7 +17,6 @@
#include "t1cmap.h"
-#include <stdlib.h> /* for qsort() */
#include FT_INTERNAL_DEBUG_H
@@ -82,7 +81,7 @@
if ( gname && gname[0] == glyph_name[0] &&
- strcmp( gname, glyph_name ) == 0 )
+ ft_strcmp( gname, glyph_name ) == 0 )
{
result = n;
break;
@@ -337,7 +336,7 @@
}
/* sort the pairs table to allow efficient binary searches */
- qsort( cmap->pairs,
+ ft_qsort( cmap->pairs,
new_count,
sizeof ( T1_CMapUniPairRec ),
t1_cmap_uni_pair_compare );