ref: 6a4253388bee1f9be9ab6787a74b2217f1869712
parent: dc26e7b77f6751d014123ccebbd78d9a0603f030
author: Werner Lemberg <[email protected]>
date: Tue Oct 24 01:44:59 EDT 2000
fixes for fixes :-) formatting; compiles now without warnings on my Linux box
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -1149,9 +1149,11 @@
void* other;
- /*@private begin*/
+ /*@private begin */
+
FT_GlyphLoader* loader;
- /*@private end*/
+
+ /*@private end */
} FT_GlyphSlotRec;
--- a/include/freetype/fterrors.h
+++ b/include/freetype/fterrors.h
@@ -172,7 +172,7 @@
"negative height while rastering" )
/* cache errors */
-
+
FT_ERRORDEF( FT_Err_Too_Many_Caches, 0x0070, \
"too many registered caches" )
--- a/include/freetype/ftnames.h
+++ b/include/freetype/ftnames.h
@@ -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
}
--- a/src/base/ftinit.c
+++ b/src/base/ftinit.c
@@ -66,7 +66,7 @@
static
const FT_Module_Class* const ft_default_modules[] =
-const {
+ {
#include <freetype/config/ftmodule.h>
0
};
@@ -87,8 +87,8 @@
/* */
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() */
--- a/src/raster1/ftraster.c
+++ b/src/raster1/ftraster.c
@@ -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 )
{