diff options
author | Werner Lemberg <wl@gnu.org> | 2006-04-29 07:31:16 +0000 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2006-04-29 07:31:16 +0000 |
commit | 8fe6539026cf87a8bcf9a23d54cd9d48176bc880 (patch) | |
tree | db74ca093a899230720984b16f590ff3cffc8d83 /src/gxvalid | |
parent | 50ef72b6e3a33cd70c65676923f42fb75333831e (diff) | |
download | freetype2-8fe6539026cf87a8bcf9a23d54cd9d48176bc880.tar.gz |
Further C library abstraction. Based on a patch from
msn2@bidyut.com.
* include/freetype/config/ftstdlib.h (FT_CHAR_BIT, FT_FILE,
ft_fopen, ft_fclose, ft_fseek, ft_ftell, ft_fread, ft_smalloc,
ft_scalloc, ft_srealloc, ft_sfree, ft_labs): New wrapper macros for
C library functions. Update all users accordingly (and catch some
other places where the C library function was used instead of the
wrapper functions).
* src/base/ftsystem.c: Don't include stdio.h and stdlib.h.
* src/gzip/zutil.h [MSDOS && !(__TURBOC__ || __BORLANDC__)]: Don't
include malloc.h.
Diffstat (limited to 'src/gxvalid')
-rw-r--r-- | src/gxvalid/gxvfgen.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gxvalid/gxvfgen.c b/src/gxvalid/gxvfgen.c index ca077b156..2af9a0da4 100644 --- a/src/gxvalid/gxvfgen.c +++ b/src/gxvalid/gxvfgen.c @@ -5,7 +5,7 @@ /* Generate feature registry data for gxv `feat' validator. */ /* This program is derived from gxfeatreg.c in gxlayout. */ /* */ -/* Copyright 2004, 2005 by Masatake YAMATO and Redhat K.K. */ +/* Copyright 2004, 2005, 2006 by Masatake YAMATO and Redhat K.K. */ /* */ /* This file may only be used, */ /* modified, and distributed under the terms of the FreeType project */ @@ -464,9 +464,9 @@ printf( " {%1d, %1d, %1d, %2d}, /* %s */\n", feat_name ? 1 : 0, - ( feat_name && - ( strncmp( feat_name, - APPLE_RESERVED, APPLE_RESERVED_LENGTH ) == 0 ) + ( feat_name && + ( ft_strncmp( feat_name, + APPLE_RESERVED, APPLE_RESERVED_LENGTH ) == 0 ) ) ? 1 : 0, featreg_table[i].exclusive ? 1 : 0, nSettings, |