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

Reported by Jens.

Formatting.
This commit is contained in:
Werner Lemberg 2006-08-27 08:03:46 +00:00
parent 6aa260ce61
commit c4c35b773d
3 changed files with 18 additions and 13 deletions

View File

@ -1,11 +1,16 @@
2006-08-27 Werner Lemberg <wl@gnu.org>
* builds/unix/ftconfig.in: Synchronize with main ftconfig.h.
Reported by Jens.
2006-08-22 Jens Claudius <jens.claudius@yahoo.com>
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.

View File

@ -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 @@ FT_BEGIN_HEADER
#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 @@ FT_BEGIN_HEADER
#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 */

View File

@ -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 );