[gimp] file-ps: Don't use the register keyword
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] file-ps: Don't use the register keyword
- Date: Tue, 14 May 2013 18:52:58 +0000 (UTC)
commit 75bcc1ceb28e8e48827f1f60c98a8f75e0e5a1d7
Author: Mukund Sivaraman <muks banu com>
Date: Wed May 15 00:22:38 2013 +0530
file-ps: Don't use the register keyword
plug-ins/common/file-ps.c | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/plug-ins/common/file-ps.c b/plug-ins/common/file-ps.c
index fd6b2d5..f378b1c 100644
--- a/plug-ins/common/file-ps.c
+++ b/plug-ins/common/file-ps.c
@@ -389,7 +389,8 @@ compress_packbits (int nin,
int *nout,
unsigned char *dst)
-{register unsigned char c;
+{
+ unsigned char c;
int nrepeat, nliteral;
unsigned char *run_start;
unsigned char *start_dst = dst;
@@ -1718,7 +1719,7 @@ read_pnmraw_type (FILE *ifp,
gint *height,
gint *maxval)
{
- register int frst, scnd, thrd;
+ int frst, scnd, thrd;
gint pnmtype;
gchar line[1024];
@@ -1864,7 +1865,7 @@ load_ps (const gchar *filename,
gint urx,
gint ury)
{
- register guchar *dest;
+ guchar *dest;
guchar *data, *bitline = NULL, *byteline = NULL, *byteptr, *temp;
guchar bit2byte[256*8];
int width, height, tile_height, scan_lines, total_scan_lines;
@@ -2197,9 +2198,9 @@ dither_grey (const guchar *grey,
static gint south_error[256];
static gint swest_error[256];
- register const guchar *greyptr;
- register guchar *bwptr, mask;
- register gint *fse;
+ const guchar *greyptr;
+ guchar *bwptr, mask;
+ gint *fse;
gint x, greyval, fse_inline;
if (linecount <= 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]