shithub: freetype+ttf2subf

Download patch

ref: c4c35b773dbeb444bf2848619defce03660b0e4b
parent: 6aa260ce61d6567a94c47401670ba2f4c7d40005
author: Werner Lemberg <[email protected]>
date: Sun Aug 27 04:03:46 EDT 2006

* builds/unix/ftconfig.in: Synchronize with main ftconfig.h.
Reported by Jens.

Formatting.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,11 +1,16 @@
+2006-08-27  Werner Lemberg  <[email protected]>
+
+	* builds/unix/ftconfig.in: Synchronize with main ftconfig.h.
+	Reported by Jens.
+
 2006-08-22  Jens Claudius  <[email protected]>
+
 	Fix for previous commit, which caused many compiler warnings/errors
-	about addresses of volatile objects passed as function arguments
-	as non-volatile pointers.
+	about addresses of volatile objects passed as function arguments as
+	non-volatile pointers.
 
-
-	* freetype2/include/freetype/internal/ftvalid.h: Make
-	FT_Validator typedef a pointer to a volatile object.
+	* freetype2/include/freetype/internal/ftvalid.h: Make FT_Validator
+	typedef a pointer to a volatile object.
 
 	* freetype2/src/gxvalid/gxvmod.c (gxv_load_table): Make function
 	argument `table' a pointer to a volatile object.
--- a/builds/unix/ftconfig.in
+++ b/builds/unix/ftconfig.in
@@ -4,7 +4,7 @@
 /*                                                                         */
 /*    UNIX-specific configuration file (specification only).               */
 /*                                                                         */
-/*  Copyright 1996-2001, 2002, 2003, 2004 by                               */
+/*  Copyright 1996-2001, 2002, 2003, 2004, 2006 by                         */
 /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
 /*                                                                         */
 /*  This file is part of the FreeType project, and may only be used,       */
@@ -176,7 +176,7 @@
 
 #elif defined( __GNUC__ )
 
-  /* GCC provides the "long long" type */
+  /* GCC provides the `long long' type */
 #define FT_LONG64
 #define FT_INT64  long long int
 
@@ -243,9 +243,9 @@
 #ifndef FT_BASE_DEF
 
 #ifdef __cplusplus
-#define FT_BASE_DEF( x )  extern "C"  x
+#define FT_BASE_DEF( x )  x
 #else
-#define FT_BASE_DEF( x )  extern  x
+#define FT_BASE_DEF( x )  x
 #endif
 
 #endif /* !FT_BASE_DEF */
--- a/src/otvalid/otvmod.c
+++ b/src/otvalid/otvmod.c
@@ -39,10 +39,10 @@
 
 
   static FT_Error
-  otv_load_table( FT_Face            face,
-                  FT_Tag             tag,
-                  FT_Byte* volatile* table,
-                  FT_ULong*          table_len )
+  otv_load_table( FT_Face             face,
+                  FT_Tag              tag,
+                  FT_Byte* volatile*  table,
+                  FT_ULong*           table_len )
   {
     FT_Error   error;
     FT_Memory  memory = FT_FACE_MEMORY( face );