* include/freetype/internal/ftcalc.h: Don't use `register' keyword.

This fixes compiler warnings.

Reported by Behdad.
This commit is contained in:
Werner Lemberg 2015-11-21 06:30:43 +01:00
parent b96af12eb6
commit 663f2d7a23
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2015-11-21 Werner Lemberg <wl@gnu.org>
* include/freetype/internal/ftcalc.h: Don't use `register' keyword.
This fixes compiler warnings.
Reported by Behdad.
2015-11-20 Werner Lemberg <wl@gnu.org>
Add `FT_LCD_FILTER_LEGACY1' enum value.

View File

@ -47,7 +47,7 @@ FT_BEGIN_HEADER
FT_MulFix_arm( FT_Int32 a,
FT_Int32 b )
{
register FT_Int32 t, t2;
FT_Int32 t, t2;
__asm
@ -80,7 +80,7 @@ FT_BEGIN_HEADER
FT_MulFix_arm( FT_Int32 a,
FT_Int32 b )
{
register FT_Int32 t, t2;
FT_Int32 t, t2;
__asm__ __volatile__ (
@ -116,7 +116,7 @@ FT_BEGIN_HEADER
FT_MulFix_i386( FT_Int32 a,
FT_Int32 b )
{
register FT_Int32 result;
FT_Int32 result;
__asm__ __volatile__ (
@ -152,7 +152,7 @@ FT_BEGIN_HEADER
FT_MulFix_i386( FT_Int32 a,
FT_Int32 b )
{
register FT_Int32 result;
FT_Int32 result;
__asm
{