freebsd-ports/shells/v7sh/files/patch-mac.h
Pav Lucistnik 6b787b91fc Add v7sh, the original Steve R. Bourne shell from the 7th edition Unix including
System III, 4.3BSD-Reno, Ultrix 3.1 and `home made'' fixes and enhancements

PR:		ports/68127
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net>
2004-06-22 08:24:19 +00:00

17 lines
455 B
C

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 ){