[gimp] file-gif-save: Don't use register keyword



commit d72226baf7acbb69181b892eb40ab1e1109de0cb
Author: Mukund Sivaraman <muks banu com>
Date:   Thu May 30 10:56:24 2013 +0530

    file-gif-save: Don't use register keyword

 plug-ins/common/file-gif-save.c |   46 +++++++++++++++++++-------------------
 1 files changed, 23 insertions(+), 23 deletions(-)
---
diff --git a/plug-ins/common/file-gif-save.c b/plug-ins/common/file-gif-save.c
index 83e0856..caa4e74 100644
--- a/plug-ins/common/file-gif-save.c
+++ b/plug-ins/common/file-gif-save.c
@@ -1800,12 +1800,12 @@ no_compress (int      init_bits,
              FILE    *outfile,
              ifunptr  ReadValue)
 {
-  register long fcode;
-  register gint i /* = 0 */ ;
-  register int c;
-  register gint ent;
-  register gint hsize_reg;
-  register int hshift;
+  long fcode;
+  gint i /* = 0 */ ;
+  int c;
+  gint ent;
+  gint hsize_reg;
+  int hshift;
 
 
   /*
@@ -1884,13 +1884,13 @@ rle_compress (int      init_bits,
               FILE    *outfile,
               ifunptr  ReadValue)
 {
-  register long fcode;
-  register gint i /* = 0 */ ;
-  register int c, last;
-  register gint ent;
-  register gint disp;
-  register gint hsize_reg;
-  register int hshift;
+  long fcode;
+  gint i /* = 0 */ ;
+  int c, last;
+  gint ent;
+  gint disp;
+  gint hsize_reg;
+  int hshift;
 
 
   /*
@@ -1994,13 +1994,13 @@ normal_compress (int      init_bits,
                  FILE    *outfile,
                  ifunptr  ReadValue)
 {
-  register long fcode;
-  register gint i /* = 0 */ ;
-  register int c;
-  register gint ent;
-  register gint disp;
-  register gint hsize_reg;
-  register int hshift;
+  long fcode;
+  gint i /* = 0 */ ;
+  int c;
+  gint ent;
+  gint disp;
+  gint hsize_reg;
+  int hshift;
 
 
   /*
@@ -2194,10 +2194,10 @@ static void
 cl_hash (glong hsize)        /* reset code table */
 {
 
-  register glong *htab_p = htab + hsize;
+  glong *htab_p = htab + hsize;
 
-  register long i;
-  register long m1 = -1;
+  long i;
+  long m1 = -1;
 
   i = hsize - 16;
   do


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