2002-10-23 00:51:26

by Frank Davis

[permalink] [raw]
Subject: [PATCH] 2.5.44-ac1 : remove STATIC macro within archs

Hello all,
The following set of patches removes the STATIC macro with the archs
(i386, sh, x86_64, arm, cris).

Regards,
Frank

--- linux/arch/i386/boot/compressed/misc.c.old Tue Oct 22 18:22:51 2002
+++ linux/arch/i386/boot/compressed/misc.c Tue Oct 22 19:49:22 2002
@@ -19,7 +19,6 @@
*/

#define OF(args) args
-#define STATIC static

#undef memset
#undef memcpy

--- linux/arch/sh/boot/compressed/misc.c.old Sat Oct 19 12:03:31 2002
+++ linux/arch/sh/boot/compressed/misc.c Tue Oct 22 19:50:46 2002
@@ -22,7 +22,6 @@
*/

#define OF(args) args
-#define STATIC static

#undef memset
#undef memcpy

--- linux/arch/x86_64/boot/compressed/misc.c.old Sat Oct 19 12:03:48 2002
+++ linux/arch/x86_64/boot/compressed/misc.c Tue Oct 22 19:52:20 2002
@@ -17,7 +17,6 @@
*/

#define OF(args) args
-#define STATIC static

#undef memset
#undef memcpy

--- linux/arch/arm/boot/compressed/misc.c.old Sat Oct 19 12:02:21 2002
+++ linux/arch/arm/boot/compressed/misc.c Tue Oct 22 19:46:17 2002
@@ -113,7 +113,6 @@
* gzip delarations
*/
#define OF(args) args
-#define STATIC static

typedef unsigned char uch;
typedef unsigned short ush;


--- linux/arch/cris/boot/compressed/misc.c.old Sat Oct 19 12:02:30 2002
+++ linux/arch/cris/boot/compressed/misc.c Tue Oct 22 19:47:58 2002
@@ -30,7 +30,6 @@
*/

#define OF(args) args
-#define STATIC static

void* memset(void* s, int c, size_t n);
void* memcpy(void* __dest, __const void* __src,