summaryrefslogtreecommitdiffstats
path: root/debian/gettext-kde/gettext-kde-0.10.35/debian/patches/remove-register-instruction.diff
blob: 3a45cfca3df327a273de6bb930c17518544a965e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
diff --git a/lib/alloca.c b/lib/alloca.c
index c1699c4..b533583 100644
--- a/lib/alloca.c
+++ b/lib/alloca.c
@@ -172,7 +172,7 @@ alloca (size)
      unsigned size;
 {
   auto char probe;		/* Probes stack depth: */
-  register char *depth = ADDRESS_FUNCTION (probe);
+  char *depth = ADDRESS_FUNCTION (probe);
 
 #if STACK_DIRECTION == 0
   if (STACK_DIR == 0)		/* Unknown growth direction.  */
@@ -183,7 +183,7 @@ alloca (size)
      was allocated from deeper in the stack than currently.  */
 
   {
-    register header *hp;	/* Traverses linked list.  */
+    header *hp;	/* Traverses linked list.  */
 
 #ifdef emacs
     BLOCK_INPUT;
@@ -193,7 +193,7 @@ alloca (size)
       if ((STACK_DIR > 0 && hp->h.deep > depth)
 	  || (STACK_DIR < 0 && hp->h.deep < depth))
 	{
-	  register header *np = hp->h.next;
+	  header *np = hp->h.next;
 
 	  free ((pointer) hp);	/* Collect garbage.  */
 
@@ -215,7 +215,7 @@ alloca (size)
   /* Allocate combined header + user data storage.  */
 
   {
-    register pointer new = malloc (sizeof (header) + size);
+    pointer new = malloc (sizeof (header) + size);
     /* Address of header.  */
 
     if (new == 0)
diff --git a/lib/getline.c b/lib/getline.c
index ba05abb..8995eb5 100644
--- a/lib/getline.c
+++ b/lib/getline.c
@@ -88,7 +88,7 @@ getstr (lineptr, n, stream, terminator, offset)
 
   for (;;)
     {
-      register int c = getc (stream);
+      int c = getc (stream);
 
       /* We always want at least one char left in the buffer, since we
 	 always (unless we get an error while reading the first char)
diff --git a/lib/getopt.c b/lib/getopt.c
index 7da985f..60041d0 100644
--- a/lib/getopt.c
+++ b/lib/getopt.c
@@ -346,7 +346,7 @@ exchange (argv)
 	{
 	  /* Bottom segment is the short one.  */
 	  int len = middle - bottom;
-	  register int i;
+	  int i;
 
 	  /* Swap it with the top part of the top segment.  */
 	  for (i = 0; i < len; i++)
@@ -363,7 +363,7 @@ exchange (argv)
 	{
 	  /* Top segment is the short one.  */
 	  int len = top - middle;
-	  register int i;
+	  int i;
 
 	  /* Swap it with the bottom part of the bottom segment.  */
 	  for (i = 0; i < len; i++)
diff --git a/lib/memset.c b/lib/memset.c
index a0db560..c2b2950 100644
--- a/lib/memset.c
+++ b/lib/memset.c
@@ -21,7 +21,7 @@ memset (str, c, len)
      int c;
      unsigned len;
 {
-  register char *st = str;
+  char *st = str;
 
   while (len-- > 0)
     *st++ = c;
diff --git a/lib/obstack.c b/lib/obstack.c
index e5b5d4f..a8c26fa 100644
--- a/lib/obstack.c
+++ b/lib/obstack.c
@@ -160,7 +160,7 @@ _obstack_begin (h, size, alignment, chunkfun, freefun)
      void (*freefun) ();
 #endif
 {
-  register struct _obstack_chunk *chunk; /* points to new chunk */
+  struct _obstack_chunk *chunk; /* points to new chunk */
 
   if (alignment == 0)
     alignment = (int) DEFAULT_ALIGNMENT;
@@ -219,7 +219,7 @@ _obstack_begin_1 (h, size, alignment, chunkfun, freefun, arg)
 #endif
      POINTER arg;
 {
-  register struct _obstack_chunk *chunk; /* points to new chunk */
+  struct _obstack_chunk *chunk; /* points to new chunk */
 
   if (alignment == 0)
     alignment = (int) DEFAULT_ALIGNMENT;
@@ -276,11 +276,11 @@ _obstack_newchunk (h, length)
      struct obstack *h;
      int length;
 {
-  register struct _obstack_chunk *old_chunk = h->chunk;
-  register struct _obstack_chunk *new_chunk;
-  register long	new_size;
-  register long obj_size = h->next_free - h->object_base;
-  register long i;
+  struct _obstack_chunk *old_chunk = h->chunk;
+  struct _obstack_chunk *new_chunk;
+  long	new_size;
+  long obj_size = h->next_free - h->object_base;
+  long i;
   long already;
 
   /* Compute size for new chunk.  */
@@ -346,8 +346,8 @@ _obstack_allocated_p (h, obj)
      struct obstack *h;
      POINTER obj;
 {
-  register struct _obstack_chunk *lp;	/* below addr of any objects in this chunk */
-  register struct _obstack_chunk *plp;	/* point to previous chunk if any */
+  struct _obstack_chunk *lp;	/* below addr of any objects in this chunk */
+  struct _obstack_chunk *plp;	/* point to previous chunk if any */
 
   lp = (h)->chunk;
   /* We use >= rather than > since the object cannot be exactly at
@@ -374,8 +374,8 @@ _obstack_free (h, obj)
      struct obstack *h;
      POINTER obj;
 {
-  register struct _obstack_chunk *lp;	/* below addr of any objects in this chunk */
-  register struct _obstack_chunk *plp;	/* point to previous chunk if any */
+  struct _obstack_chunk *lp;	/* below addr of any objects in this chunk */
+  struct _obstack_chunk *plp;	/* point to previous chunk if any */
 
   lp = h->chunk;
   /* We use >= because there cannot be an object at the beginning of a chunk.
@@ -408,8 +408,8 @@ obstack_free (h, obj)
      struct obstack *h;
      POINTER obj;
 {
-  register struct _obstack_chunk *lp;	/* below addr of any objects in this chunk */
-  register struct _obstack_chunk *plp;	/* point to previous chunk if any */
+  struct _obstack_chunk *lp;	/* below addr of any objects in this chunk */
+  struct _obstack_chunk *plp;	/* point to previous chunk if any */
 
   lp = h->chunk;
   /* We use >= because there cannot be an object at the beginning of a chunk.
@@ -439,8 +439,8 @@ int
 _obstack_memory_used (h)
      struct obstack *h;
 {
-  register struct _obstack_chunk* lp;
-  register int nbytes = 0;
+  struct _obstack_chunk* lp;
+  int nbytes = 0;
 
   for (lp = h->chunk; lp != 0; lp = lp->prev)
     {
diff --git a/lib/stpcpy.c b/lib/stpcpy.c
index 0ad8863..14be0e0 100644
--- a/lib/stpcpy.c
+++ b/lib/stpcpy.c
@@ -37,8 +37,8 @@ __stpcpy (dest, src)
      char *dest;
      const char *src;
 {
-  register char *d = dest;
-  register const char *s = src;
+  char *d = dest;
+  const char *s = src;
 
   do
     *d++ = *s;
diff --git a/lib/strtol.c b/lib/strtol.c
index d49f1c6..8fd350b 100644
--- a/lib/strtol.c
+++ b/lib/strtol.c
@@ -238,11 +238,11 @@ INTERNAL (strtol) (nptr, endptr, base, group LOCALE_PARAM)
      LOCALE_PARAM_DECL
 {
   int negative;
-  register unsigned LONG int cutoff;
-  register unsigned int cutlim;
-  register unsigned LONG int i;
-  register const STRING_TYPE *s;
-  register UCHAR_TYPE c;
+  unsigned LONG int cutoff;
+  unsigned int cutlim;
+  unsigned LONG int i;
+  const STRING_TYPE *s;
+  UCHAR_TYPE c;
   const STRING_TYPE *save, *end;
   int overflow;
 
diff --git a/src/po-gram.gen.c b/src/po-gram.gen.c
index 7ac7fa6..1e65466 100644
--- a/src/po-gram.gen.c
+++ b/src/po-gram.gen.c
@@ -324,9 +324,9 @@ __po_gram__memcpy (to, from, count)
      char *from;
      int count;
 {
-  register char *f = from;
-  register char *t = to;
-  register int i = count;
+  char *f = from;
+  char *t = to;
+  int i = count;
 
   while (i-- > 0)
     *t++ = *f++;
@@ -339,9 +339,9 @@ __po_gram__memcpy (to, from, count)
 static void
 __po_gram__memcpy (char *to, char *from, int count)
 {
-  register char *f = from;
-  register char *t = to;
-  register int i = count;
+  char *f = from;
+  char *t = to;
+  int i = count;
 
   while (i-- > 0)
     *t++ = *f++;
@@ -375,10 +375,10 @@ int
 po_gram_parse(po_gram_PARSE_PARAM_ARG)
      po_gram_PARSE_PARAM_DECL
 {
-  register int po_gram_state;
-  register int po_gram_n;
-  register short *po_gram_ssp;
-  register po_gram_STYPE *po_gram_vsp;
+  int po_gram_state;
+  int po_gram_n;
+  short *po_gram_ssp;
+  po_gram_STYPE *po_gram_vsp;
   int po_gram_errstatus;	/*  number of tokens to shift before error messages enabled */
   int po_gram_char1 = 0;		/*  lookahead token as an internal (translated) token number */
 
diff --git a/src/po-hash.gen.c b/src/po-hash.gen.c
index b7ded1b..bc31589 100644
--- a/src/po-hash.gen.c
+++ b/src/po-hash.gen.c
@@ -341,9 +341,9 @@ __po_hash__memcpy (to, from, count)
      char *from;
      int count;
 {
-  register char *f = from;
-  register char *t = to;
-  register int i = count;
+  char *f = from;
+  char *t = to;
+  int i = count;
 
   while (i-- > 0)
     *t++ = *f++;
@@ -356,9 +356,9 @@ __po_hash__memcpy (to, from, count)
 static void
 __po_hash__memcpy (char *to, char *from, int count)
 {
-  register char *f = from;
-  register char *t = to;
-  register int i = count;
+  char *f = from;
+  char *t = to;
+  int i = count;
 
   while (i-- > 0)
     *t++ = *f++;
@@ -392,10 +392,10 @@ int
 po_hash_parse(po_hash_PARSE_PARAM_ARG)
      po_hash_PARSE_PARAM_DECL
 {
-  register int po_hash_state;
-  register int po_hash_n;
-  register short *po_hash_ssp;
-  register po_hash_STYPE *po_hash_vsp;
+  int po_hash_state;
+  int po_hash_n;
+  short *po_hash_ssp;
+  po_hash_STYPE *po_hash_vsp;
   int po_hash_errstatus;	/*  number of tokens to shift before error messages enabled */
   int po_hash_char1 = 0;		/*  lookahead token as an internal (translated) token number */