fixes for fixes :-)

formatting; compiles now without warnings on my Linux box
This commit is contained in:
Werner Lemberg 2000-10-24 05:44:59 +00:00
parent dc26e7b77f
commit 6a4253388b
5 changed files with 11 additions and 11 deletions

View File

@ -1149,9 +1149,11 @@
void* other;
/*@private begin*/
/*@private begin */
FT_GlyphLoader* loader;
/*@private end*/
/*@private end */
} FT_GlyphSlotRec;

View File

@ -172,7 +172,7 @@
"negative height while rastering" )
/* cache errors */
FT_ERRORDEF( FT_Err_Too_Many_Caches, 0x0070, \
"too many registered caches" )

View File

@ -65,10 +65,10 @@
FT_UShort encoding_id;
FT_UShort language_id;
FT_UShort name_id;
FT_Byte* string; /* this string is *not* null-terminated! */
FT_UInt string_len; /* in bytes */
} FT_SfntName;
@ -119,7 +119,7 @@
FT_EXPORT_DEF( FT_Error ) FT_Get_Sfnt_Name( FT_Face face,
FT_UInt index,
FT_SfntName* aname );
#ifdef __cplusplus
}

View File

@ -66,7 +66,7 @@
static
const FT_Module_Class* const ft_default_modules[] =
const {
{
#include <freetype/config/ftmodule.h>
0
};
@ -87,8 +87,8 @@ const {
/* */
FT_EXPORT_FUNC( void ) FT_Add_Default_Modules( FT_Library library )
{
FT_Error error;
const FT_Module_Class** cur;
FT_Error error;
const FT_Module_Class* const* cur;
/* test for valid `library' delayed to FT_Add_Module() */

View File

@ -2971,8 +2971,6 @@
/* <Return> */
/* FreeType error code. 0 means success. */
/* */
/* XXX Fixme: ftraster's error codes don't harmonize with FT2's ones! */
/* */
LOCAL_FUNC
FT_Error Render_Glyph( RAS_ARG )
{