aboutsummaryrefslogtreecommitdiff
path: root/shells/v7sh/files/patch-mac.h
diff options
context:
space:
mode:
Diffstat (limited to 'shells/v7sh/files/patch-mac.h')
-rw-r--r--shells/v7sh/files/patch-mac.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/shells/v7sh/files/patch-mac.h b/shells/v7sh/files/patch-mac.h
new file mode 100644
index 000000000000..1a2f8ee1a0a2
--- /dev/null
+++ b/shells/v7sh/files/patch-mac.h
@@ -0,0 +1,17 @@
+diff -u -x CVS -x work -x core -x *.core -x #* -x *~ -x *.orig -x *.rej -I $Id.*$ -I $.+BSD.*$ mac.h.orig mac.h
+--- mac.h.orig Fri Jun 4 02:51:01 2004
++++ mac.h Sat Jun 19 18:42:23 2004
+@@ -9,10 +9,12 @@
+
+ #define LOCAL static
+ #define PROC extern
++#define CONST const
++#define EXTERN extern
+ #define TYPE typedef
+ #define STRUCT TYPE struct
+ #define UNION TYPE union
+-#define REG register
++#define REG /* register */
+
+ #define IF if(
+ #define THEN ){