[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Some diffs for Mint 1.12



Hi,
  Here are some diffs for 1.12 (virgin), these just make the headers more
A.N.S.I. compat!!  They also make compiling with Lattice a lot easier,
(only if you use the MINT.SYM file!) now I have have not tried to compile
1.12 with Lattice 5.60, if there are any probs I will try and fix and post
here!!

Thanks

Brian Murphy
Polaroid (U.K.) Limited
SCOTLAND
Work: +44-(0)1389-722443
      +44-(0)1389-722543
Email:pvuop11%voldev@cliffy.polaroid.com (think this is the new one!!)
      pvuop11%voldev@leia.polaroid.com (The old one and works just now)
--------------------------------------cut--here-----------------------------

*** asmtab.h Tue Aug 30 07:55:32 1994
--- new/asmtab.h Tue Nov 22 23:47:14 1994
***************
*** 1,3 ****
--- 1,6 ----
+ /* BJM: Added for lattice and A.N.S.I. compat. */
+ #ifndef _ASMTAB_H
+ #define _ASMTAB_H
+
  #define WORD 257
  #define WHITESP 258
  #define EOLN 259
***************
*** 8,10 ****
--- 11,14 ----
  #define IFNDEFCMD 264
  #define ELSECMD 265
  #define ENDIFCMD 266
+ #endif
*** asmtrans.h Tue Aug 30 07:55:34 1994
--- new/asmtrans.h Tue Nov 22 23:47:22 1994
***************
*** 1,3 ****
--- 1,7 ----
+ /* BJM: Added for lattice and A.N.S.I. compat. */
+ #ifndef _ASMTRANS_H
+ #define _ASMTRANS_H
+ 
  #include <string.h>
  #include <stdio.h>
  
***************
*** 70,72 ****
--- 74,77 ----
  
  extern FILE *infile, *outfile;
  extern int hidecnt;
+ #endif
*** assert.h Tue Aug 30 07:55:34 1994
--- new/assert.h Tue Nov 22 23:47:29 1994
***************
*** 2,7 ****
--- 2,11 ----
  Copyright 1990,1991 Eric R. Smith. All rights reserved.
  */
  
+ /* BJM: Added for lattice and A.N.S.I. compat. */
+ #ifndef _ASSERT_H
+ #define _ASSERT_H
+ 
  #ifdef NDEBUG
  #define assert(expression)
  #else
***************
*** 15,17 ****
--- 19,22 ----
  # endif
  
  #endif /* NDEBUG */
+ #endif
*** debug.h Mon Nov 14 11:36:44 1994
--- new/debug.h Tue Nov 22 23:47:33 1994
***************
*** 1,3 ****
--- 1,7 ----
+ /* BJM: Added for lattice and A.N.S.I. compat. */
+ #ifndef _DEBUG_H
+ #define _DEBUG_H
+ 
  extern int debug_level;				/* in debug.c */
  extern int debug_logging;			/* in debug.c */
  
***************
*** 28,30 ****
--- 32,35 ----
           Debug s ; } while(0)
  
  #endif /* DEBUG_INFO */
+ #endif
*** fasttext.h Tue Aug 30 07:55:44 1994
--- new/fasttext.h Tue Nov 22 23:47:38 1994
***************
*** 1,3 ****
--- 1,7 ----
+ /* BJM: Added for lattice and A.N.S.I. compat. */
+ #ifndef _FASTTEXT_H
+ #define _FASTTEXT_H
+ 
  #if 0
  #include <osbind.h>
  #include <linea.h>
***************
*** 55,57 ****
--- 59,62 ----
  #define FWRAP		0x08		/* wrap cursor at end of line */
  #define FINVERSE	0x10		/* invert text */
  #define CURS_UPD	0x40		/* cursor update flag */
+ #endif
*** inline.h Tue Aug 30 07:55:46 1994
--- new/inline.h Tue Nov 22 23:47:43 1994
***************
*** 4,9 ****
--- 4,13 ----
  All rights reserved.
   */
  
+ /* BJM: Added for lattice and A.N.S.I. compat. */
+ #ifndef _INLINE_H
+ #define _INLINE_H
+ 
  /*
   * inlining of various utility functions, for speed
   * NOTE: ALL functions in this file must also have
***************
*** 92,95 ****
--- 96,100 ----
  #ifdef LATTICE
  #pragma inline d0=spl7()	{"40c0007c0700";}
  #pragma inline d0=spl(d0)	{"46c0";}
+ #endif
  #endif
*** loadave.h Tue Aug 30 07:55:46 1994
--- new/loadave.h Tue Nov 22 23:47:48 1994
***************
*** 1,3 ****
--- 1,7 ----
+ /* BJM: Added for lattice and A.N.S.I. compat. */
+ #ifndef _LOADAVE_H
+ #define _LOADAVE_H
+ 
  #define TICKS_PER_TOCK		200
  #define TOCKS_PER_SECOND	1
  
***************
*** 9,11 ****
--- 13,16 ----
  
  extern unsigned long uptime;
  extern unsigned long avenrun[3];
+ #endif
*** mint.h Tue Nov 15 18:00:42 1994
--- new/mint.h Tue Nov 22 23:47:53 1994
***************
*** 4,9 ****
--- 4,13 ----
  All rights reserved.
  */
  
+ /* BJM: Added for lattice and A.N.S.I. compat. */
+ #ifndef _MINT_H
+ #define _MINT_H
+ 
  #ifndef GENMAGIC
  /* use our own library: strongly recommended */
  #define OWN_LIB
***************
*** 276,278 ****
--- 280,283 ----
  #include "inline.h"
  
  #endif /* GENMAGIC */
+ #endif
*** proto.h Mon Nov 14 14:07:00 1994
--- new/proto.h Tue Nov 22 23:47:58 1994
***************
*** 1,3 ****
--- 1,7 ----
+ /* BJM: Added for lattice and A.N.S.I. compat. */
+ #ifndef _PROTO_H
+ #define _PROTO_H
+ 
  /* bios.c */
  unsigned ionwrite P_((IOREC_T *wrec));
  unsigned ionread P_((IOREC_T *irec));
***************
*** 423,425 ****
--- 427,430 ----
  
  /* welcome.c */
  int boot_kernel_p P_((void));
+ #endif
*** signal.h Tue Aug 30 07:55:58 1994
--- new/signal.h Tue Nov 22 23:48:04 1994
***************
*** 1,3 ****
--- 1,7 ----
+ /* BJM: Added for lattice and A.N.S.I. compat. */
+ #ifndef _SIGNAL_H
+ #define _SIGNAL_H
+ 
  #define	NSIG		31		/* number of signals recognized */
  
  #define	SIGNULL		0		/* not really a signal */
***************
*** 58,60 ****
--- 62,65 ----
  #define SAUSER		(SA_NOCLDSTOP)	/* signal flags which the process may set */
  #define SAPARENT	(0)		/* signal flags which the parent (of ptraced) processes may set */
  #define SAKERNEL	(SA_RESET)	/* kernel only flags */
+ #endif
*** sproto.h Tue Aug 30 07:55:58 1994
--- new/sproto.h Tue Nov 22 23:48:07 1994
***************
*** 2,7 ****
--- 2,11 ----
   * C declarations for functions defined in .s files
   */
  
+ /* BJM: Added for lattice and A.N.S.I. compat. */
+ #ifndef _SPROTO_H
+ #define _SPROTO_H
+ 
  /* context.s */
  long ARGS_ON_STACK build_context P_((CONTEXT *sav, int fmt));
  long ARGS_ON_STACK save_context P_((CONTEXT *sav));
***************
*** 41,44 ****
  long ARGS_ON_STACK callout6 P_((long, int, int, int, int, int, int));
  long ARGS_ON_STACK callout6spl7 P_((long, int, int, int, int, int, int));
  void ARGS_ON_STACK do_usrcall P_((void));
! 
--- 45,48 ----
  long ARGS_ON_STACK callout6 P_((long, int, int, int, int, int, int));
  long ARGS_ON_STACK callout6spl7 P_((long, int, int, int, int, int, int));
  void ARGS_ON_STACK do_usrcall P_((void));
! #endif
*** version.h Tue Nov 15 17:58:00 1994
--- new/version.h Tue Nov 22 23:48:11 1994
***************
*** 1,3 ****
--- 1,7 ----
+ /* BJM: Added for lattice and A.N.S.I. compat. */
+ #ifndef _VERSION_H
+ #define _VERSION_H
+ 
  #define MAJ_VERSION	1
  #define MIN_VERSION	12
  
***************
*** 9,12 ****
--- 13,17 ----
  #define VERS_STRING	"%d.%02d" BETA
  #else
  #define VERS_STRING	"%d.%02d"
+ #endif
  #endif