Fix compilation warning.

This commit is contained in:
Werner Lemberg 2010-01-14 20:32:21 +01:00
parent 5ebda893c3
commit d40cd0b4a4
3 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2010-01-14 Werner Lemberg <wl@gnu.org>
Fix compilation warning.
* src/base/ftbase.h: s/LOCAL_DEF/LOCAL/.
* src/base/ftobjc.s: Include ftbase.h conditionally.
2010-01-11 Kwang Yul Seo <skyul@company100.net>
Provide inline assembly code for RVCT compiler.

View File

@ -4,7 +4,7 @@
/* */
/* The FreeType private functions used in base module (specification). */
/* */
/* Copyright 2008 by */
/* Copyright 2008, 2010 by */
/* David Turner, Robert Wilhelm, Werner Lemberg, and suzuki toshiya. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@ -29,7 +29,7 @@ FT_BEGIN_HEADER
/* Assume the stream is sfnt-wrapped PS Type1 or sfnt-wrapped CID-keyed */
/* font, and try to load a face specified by the face_index. */
FT_LOCAL_DEF( FT_Error )
FT_LOCAL( FT_Error )
open_face_PS_from_sfnt_stream( FT_Library library,
FT_Stream stream,
FT_Long face_index,
@ -40,7 +40,7 @@ FT_BEGIN_HEADER
/* Create a new FT_Face given a buffer and a driver name. */
/* From ftmac.c. */
FT_LOCAL_DEF( FT_Error )
FT_LOCAL( FT_Error )
open_face_from_buffer( FT_Library library,
FT_Byte* base,
FT_ULong size,

View File

@ -4,7 +4,8 @@
/* */
/* The FreeType private base classes (body). */
/* */
/* Copyright 1996-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by */
/* Copyright 1996-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, */
/* 2010 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@ -37,7 +38,9 @@
#include FT_SERVICE_KERNING_H
#include FT_SERVICE_TRUETYPE_ENGINE_H
#ifdef FT_CONFIG_OPTION_MAC_FONTS
#include "ftbase.h"
#endif
#define GRID_FIT_METRICS