freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2-demos] master 36ebbde: [ftgamma] Fix compiler warnings.


From: Werner LEMBERG
Subject: [freetype2-demos] master 36ebbde: [ftgamma] Fix compiler warnings.
Date: Fri, 19 Aug 2016 07:06:46 +0000 (UTC)

branch: master
commit 36ebbde2593a57f552bd6651126bf4b758cdc427
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>

    [ftgamma] Fix compiler warnings.
    
    * src/ftgamma.c (bit1, bit2, bit): Make them static.
---
 ChangeLog     |    6 ++++++
 src/ftgamma.c |    6 +++---
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d2bc897..e796136 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2018-08-19  Werner Lemberg  <address@hidden>
+
+       [ftgamma] Fix compiler warnings.
+
+       * src/ftgamma.c (bit1, bit2, bit): Make them static.
+
 2016-08-18  Alexei Podtelezhnikov  <address@hidden>
 
        [ftdump] Hexdump composite glyf instructions too.
diff --git a/src/ftgamma.c b/src/ftgamma.c
index 415e91b..f3b49f1 100644
--- a/src/ftgamma.c
+++ b/src/ftgamma.c
@@ -17,9 +17,9 @@
 
   static FTDemo_Display*  display;
 
-  grBitmap   bit1 = { 300, 600, 600, gr_pixel_mode_gray, 256, NULL };
-  grBitmap   bit2 = { 300, 600, 600, gr_pixel_mode_gray, 256, NULL };
-  grBitmap*  bit;
+  static grBitmap   bit1 = { 300, 600, 600, gr_pixel_mode_gray, 256, NULL };
+  static grBitmap   bit2 = { 300, 600, 600, gr_pixel_mode_gray, 256, NULL };
+  static grBitmap*  bit;
 
 
   static void



reply via email to

[Prev in Thread] Current Thread [Next in Thread]