From a093d80fa5cdcdd98cfa297e25446a8033675d62 Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Wed, 6 Jan 2021 19:06:42 -0800 Subject: [PATCH] Add include guards to all the include files in inc/ which were missing them. (#189) As a prerequisite for cleaning up some other include issues, all the include files in inc/ should have an include guard. All the xxxdefs.h were created with them, but most older files were not. --- inc/MyWindow.h | 3 +++ inc/Xbitblt.h | 3 +++ inc/address.h | 3 +++ inc/adr68k.h | 3 +++ inc/arith.h | 3 +++ inc/arith2.h | 3 +++ inc/array.h | 3 +++ inc/bb.h | 3 +++ inc/bbtsub.h | 3 +++ inc/bitblt.h | 3 +++ inc/dbprint.h | 3 +++ inc/debug.h | 3 +++ inc/devconf.h | 3 +++ inc/dld.h | 3 +++ inc/dspdata.h | 3 +++ inc/emlglob.h | 3 +++ inc/ether.h | 3 +++ inc/fast_dsp.h | 3 +++ inc/gcdata.h | 3 +++ inc/hdw_conf.h | 3 +++ inc/initatms.h | 3 +++ inc/kbdif.h | 3 +++ inc/keyboard.h | 3 +++ inc/lispemul.h | 3 +++ inc/lispver1.h | 3 +++ inc/lispver2.h | 3 +++ inc/lldsp.h | 3 +++ inc/locfile.h | 3 +++ inc/lpdefs.h | 11 +++-------- inc/lpglob.h | 3 +++ inc/lpglobl.h | 3 +++ inc/lppatch.h | 3 +++ inc/lpproto.h | 3 +++ inc/lsptypes.h | 3 +++ inc/medleyfp.h | 3 +++ inc/miscstat.h | 3 +++ inc/mnxdefs.h | 3 +++ inc/my.h | 3 +++ inc/native.h | 3 +++ inc/nfsfh.h | 3 +++ inc/nfswatch.h | 3 +++ inc/opcodes.h | 3 +++ inc/os.h | 3 +++ inc/osmsg.h | 3 +++ inc/picture.h | 3 +++ inc/pilotbbt.h | 3 +++ inc/print.h | 3 +++ inc/profile.h | 3 +++ inc/rawrs232c.h | 3 +++ inc/return.h | 3 +++ inc/stream.h | 3 +++ inc/sysatms.h | 3 +++ inc/timeout.h | 3 +++ inc/tos1defs.h | 3 +++ inc/tosret.h | 3 +++ inc/tty.h | 3 +++ inc/unixfork.h | 3 +++ inc/version.h | 3 +++ inc/vmemsave.h | 3 +++ inc/xbitmaps.h | 3 +++ inc/xscroll.h | 3 +++ 61 files changed, 183 insertions(+), 8 deletions(-) mode change 100755 => 100644 inc/MyWindow.h mode change 100755 => 100644 inc/Xbitblt.h mode change 100755 => 100644 inc/address.h mode change 100755 => 100644 inc/adr68k.h mode change 100755 => 100644 inc/arith.h mode change 100755 => 100644 inc/arith2.h mode change 100755 => 100644 inc/array.h mode change 100755 => 100644 inc/bb.h mode change 100755 => 100644 inc/dbprint.h mode change 100755 => 100644 inc/debug.h mode change 100755 => 100644 inc/devconf.h mode change 100755 => 100644 inc/dld.h mode change 100755 => 100644 inc/dspdata.h mode change 100755 => 100644 inc/emlglob.h mode change 100755 => 100644 inc/ether.h mode change 100755 => 100644 inc/fast_dsp.h mode change 100755 => 100644 inc/gcdata.h mode change 100755 => 100644 inc/hdw_conf.h mode change 100755 => 100644 inc/initatms.h mode change 100755 => 100644 inc/kbdif.h mode change 100755 => 100644 inc/keyboard.h mode change 100755 => 100644 inc/lispemul.h mode change 100755 => 100644 inc/lispver1.h mode change 100755 => 100644 inc/lispver2.h mode change 100755 => 100644 inc/lldsp.h mode change 100755 => 100644 inc/locfile.h mode change 100755 => 100644 inc/lpdefs.h mode change 100755 => 100644 inc/lpglob.h mode change 100755 => 100644 inc/lpglobl.h mode change 100755 => 100644 inc/lppatch.h mode change 100755 => 100644 inc/lpproto.h mode change 100755 => 100644 inc/lsptypes.h mode change 100755 => 100644 inc/medleyfp.h mode change 100755 => 100644 inc/miscstat.h mode change 100755 => 100644 inc/mnxdefs.h mode change 100755 => 100644 inc/my.h mode change 100755 => 100644 inc/native.h mode change 100755 => 100644 inc/nfsfh.h mode change 100755 => 100644 inc/nfswatch.h mode change 100755 => 100644 inc/opcodes.h mode change 100755 => 100644 inc/os.h mode change 100755 => 100644 inc/osmsg.h mode change 100755 => 100644 inc/picture.h mode change 100755 => 100644 inc/pilotbbt.h mode change 100755 => 100644 inc/print.h mode change 100755 => 100644 inc/profile.h mode change 100755 => 100644 inc/rawrs232c.h mode change 100755 => 100644 inc/return.h mode change 100755 => 100644 inc/stream.h mode change 100755 => 100644 inc/sysatms.h mode change 100755 => 100644 inc/timeout.h mode change 100755 => 100644 inc/tos1defs.h mode change 100755 => 100644 inc/tosret.h mode change 100755 => 100644 inc/tty.h mode change 100755 => 100644 inc/version.h mode change 100755 => 100644 inc/vmemsave.h mode change 100755 => 100644 inc/xbitmaps.h diff --git a/inc/MyWindow.h b/inc/MyWindow.h old mode 100755 new mode 100644 index 37c8924..11e2b44 --- a/inc/MyWindow.h +++ b/inc/MyWindow.h @@ -1,3 +1,5 @@ +#ifndef MYWINDOW_H +#define MYWINDOW_H 1 /* $Id: MyWindow.h,v 1.2 1999/01/03 02:05:47 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ /************************************************************************/ @@ -108,3 +110,4 @@ typedef struct (window)->cursor = mycursor; \ } +#endif /* MYWINDOW_H */ diff --git a/inc/Xbitblt.h b/inc/Xbitblt.h old mode 100755 new mode 100644 index 1996a9e..1dcee35 --- a/inc/Xbitblt.h +++ b/inc/Xbitblt.h @@ -1,3 +1,5 @@ +#ifndef XBITBLT_H +#define XBITBLT_H 1 /* $Id: Xbitblt.h,v 1.2 1999/01/03 02:05:49 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ /* * @@ -69,3 +71,4 @@ Xbitblt( x, y, w, h ); \ } \ } +#endif /* XBITBLT_H */ diff --git a/inc/address.h b/inc/address.h old mode 100755 new mode 100644 index cee598a..88ad61b --- a/inc/address.h +++ b/inc/address.h @@ -1,3 +1,5 @@ +#ifndef ADDRESS_H +#define ADDRESS_H 1 /* $Id: address.h,v 1.2 1999/01/03 02:05:51 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -52,3 +54,4 @@ #define POINTER_SEGMENT(datum) HILOC(datum) #define POINTER_PAGEBASE(datum) ((datum) & 0x0ffff00) #endif /* BIGVM */ +#endif /* ADDRESS_H */ diff --git a/inc/adr68k.h b/inc/adr68k.h old mode 100755 new mode 100644 index ad31608..80bea93 --- a/inc/adr68k.h +++ b/inc/adr68k.h @@ -1,3 +1,5 @@ +#ifndef ADR68K_H +#define ADR68K_H 1 /* $Id: adr68k.h,v 1.2 1999/01/03 02:05:52 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ /* @@ -67,3 +69,4 @@ #define Addr68k_from_StkOffset(stkoffset)\ ( (stkoffset) + Stackspace) #endif +#endif /* ADR68K_H */ diff --git a/inc/arith.h b/inc/arith.h old mode 100755 new mode 100644 index 11f27d6..d4d93b5 --- a/inc/arith.h +++ b/inc/arith.h @@ -1,3 +1,5 @@ +#ifndef ARITH_H +#define ARITH_H 1 /* $Id: arith.h,v 1.2 1999/01/03 02:05:52 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -237,3 +239,4 @@ do_ufn: ERROR_EXIT(a); \ #define sub32n(a,b) Xisub32n() #endif +#endif /* ARITH_H */ diff --git a/inc/arith2.h b/inc/arith2.h old mode 100755 new mode 100644 index f0a83f4..1c10d1e --- a/inc/arith2.h +++ b/inc/arith2.h @@ -1,3 +1,5 @@ +#ifndef ARITH2_H +#define ARITH2_H 1 /* $Id: arith2.h,v 1.2 1999/01/03 02:05:52 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -135,3 +137,4 @@ dummy: idiffn_err_label(); #endif /* GCC386 */ #endif /* ARITHINLINE */ +#endif /* ARITH2_H */ diff --git a/inc/array.h b/inc/array.h old mode 100755 new mode 100644 index 300ef89..58bf797 --- a/inc/array.h +++ b/inc/array.h @@ -1,3 +1,5 @@ +#ifndef ARRAY_H +#define ARRAY_H 1 /* $Id: array.h,v 1.2 1999/01/03 02:05:53 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -227,3 +229,4 @@ struct abdum /* End of Definitions */ /* */ /****************************************************************************/ +#endif /* ARRAY_H */ diff --git a/inc/bb.h b/inc/bb.h old mode 100755 new mode 100644 index 61aa374..f06860b --- a/inc/bb.h +++ b/inc/bb.h @@ -1,3 +1,5 @@ +#ifndef BB_H +#define BB_H 1 /* $Id: bb.h,v 1.2 1999/01/03 02:05:53 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ /* bb.h written by don charnley @@ -830,3 +832,4 @@ next_line: \ +#endif /* BB_H */ diff --git a/inc/bbtsub.h b/inc/bbtsub.h index b956e34..d1a8785 100644 --- a/inc/bbtsub.h +++ b/inc/bbtsub.h @@ -1,3 +1,5 @@ +#ifndef BBTSUB_H +#define BBTSUB_H 1 /***** Don't use PixRect code on 386i for now *****/ /***** -or on any machine that doesn't support it (HP, e.g.) *****/ @@ -26,3 +28,4 @@ LispPTR newbltchar(LispPTR *args); #endif void ccfuncall(unsigned int atom_index, int argnum, int bytenum); void tedit_bltchar(LispPTR *args); +#endif /* BBTSUB_H */ diff --git a/inc/bitblt.h b/inc/bitblt.h index 7066175..785fe56 100644 --- a/inc/bitblt.h +++ b/inc/bitblt.h @@ -1,3 +1,5 @@ +#ifndef BITBLT_H +#define BITBLT_H 1 /* $Id: bitblt.h,v 1.2 1999/01/03 02:05:54 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ /* * Copyright (C) 1988 by Fuji Xerox Co., Ltd. All rights reserved. @@ -93,3 +95,4 @@ extern DLword *EmCursorX68K,*EmCursorY68K; #define UNLOCKSCREEN ScreenLocked = NIL; #endif /* DOS */ +#endif /* BITBLT_H */ diff --git a/inc/dbprint.h b/inc/dbprint.h old mode 100755 new mode 100644 index 3a79c3e..f7f215b --- a/inc/dbprint.h +++ b/inc/dbprint.h @@ -1,3 +1,5 @@ +#ifndef DBPRINT_H +#define DBPRINT_H 1 /* $Id: dbprint.h,v 1.2 1999/01/03 02:05:55 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -91,3 +93,4 @@ extern int flushing; #define FNCHECKER(X) #endif +#endif /* DBPRINT_H */ diff --git a/inc/debug.h b/inc/debug.h old mode 100755 new mode 100644 index 0c2f3b9..02532c3 --- a/inc/debug.h +++ b/inc/debug.h @@ -1,3 +1,5 @@ +#ifndef DEBUG_H +#define DEBUG_H 1 /* $Id: debug.h,v 1.2 1999/01/03 02:05:56 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -436,3 +438,4 @@ typedef struct { #endif /* BYTESWAP */ +#endif /* DEBUG_H */ diff --git a/inc/devconf.h b/inc/devconf.h old mode 100755 new mode 100644 index cb45fba..4f76947 --- a/inc/devconf.h +++ b/inc/devconf.h @@ -1,3 +1,5 @@ +#ifndef DEVCONF_H +#define DEVCONF_H 1 /* $Id: devconf.h,v 1.2 1999/01/03 02:05:56 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ /**********************************************************/ /* @@ -49,3 +51,4 @@ /* useful macros */ #define SUN_GETKEYTYPE (InterfacePage->devconfig & SUN_KEYTYPE_MASK) #define SUN_GETDISPTYPE (InterfacePage->devconfig & SUN_DISPTYPE_MASK) +#endif /* DEVCONF_H */ diff --git a/inc/dld.h b/inc/dld.h old mode 100755 new mode 100644 index 208f876..1262a35 --- a/inc/dld.h +++ b/inc/dld.h @@ -1,3 +1,5 @@ +#ifndef DLD_H +#define DLD_H 1 /* $Id: dld.h,v 1.2 1999/01/03 02:05:57 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ /* Error codes */ @@ -62,3 +64,4 @@ extern void dld_remove_defined_symbol (); /* remove a explicitly defined symbol */ extern void dld_perror (); /* print error messages. */ +#endif /* DLD_H */ diff --git a/inc/dspdata.h b/inc/dspdata.h old mode 100755 new mode 100644 index 988af78..4a0bf5d --- a/inc/dspdata.h +++ b/inc/dspdata.h @@ -1,3 +1,5 @@ +#ifndef DSPDATA_H +#define DSPDATA_H 1 /* $Id: dspdata.h,v 1.2 1999/01/03 02:05:58 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -124,3 +126,4 @@ typedef struct displaydata{ #endif /* BYTESWAP */ +#endif /* DSPDATA_H */ diff --git a/inc/emlglob.h b/inc/emlglob.h old mode 100755 new mode 100644 index 97d9477..fbb3986 --- a/inc/emlglob.h +++ b/inc/emlglob.h @@ -1,3 +1,5 @@ +#ifndef EMLGLOB_H +#define EMLGLOB_H 1 /* $Id: emlglob.h,v 1.2 1999/01/03 02:05:58 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ /* @@ -34,3 +36,4 @@ /* */ /************************************************************************/ +#endif /* EMLGLOB_H */ diff --git a/inc/ether.h b/inc/ether.h old mode 100755 new mode 100644 index 266fef1..224bbb2 --- a/inc/ether.h +++ b/inc/ether.h @@ -1,3 +1,5 @@ +#ifndef ETHER_H +#define ETHER_H 1 /* $Id: ether.h,v 1.2 1999/01/03 02:05:59 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -119,3 +121,4 @@ typedef struct { #endif /* BYTESWAP */ +#endif /* ETHER_H */ diff --git a/inc/fast_dsp.h b/inc/fast_dsp.h old mode 100755 new mode 100644 index 6cfc08f..d909a12 --- a/inc/fast_dsp.h +++ b/inc/fast_dsp.h @@ -1,3 +1,5 @@ +#ifndef FAST_DSP_H +#define FAST_DSP_H 1 /* $Id: fast_dsp.h,v 1.2 1999/01/03 02:05:59 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ /* These are the Macros Used to generate fast dispatch inline code. @@ -251,3 +253,4 @@ +#endif /* FAST_DSP_H */ diff --git a/inc/gcdata.h b/inc/gcdata.h old mode 100755 new mode 100644 index b57dfe5..6274c03 --- a/inc/gcdata.h +++ b/inc/gcdata.h @@ -1,3 +1,5 @@ +#ifndef GCDATA_H +#define GCDATA_H 1 /* $Id: gc.h,v 1.3 2001/12/24 01:08:57 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -259,3 +261,4 @@ struct htoverflow #endif /* BIGVM */ #endif /* BYTESWAP */ +#endif /* GCDATA_H */ diff --git a/inc/hdw_conf.h b/inc/hdw_conf.h old mode 100755 new mode 100644 index 726d14d..ce0aa2f --- a/inc/hdw_conf.h +++ b/inc/hdw_conf.h @@ -1,3 +1,5 @@ +#ifndef HDW_CONF_H +#define HDW_CONF_H 1 /* $Id: hdw_conf.h,v 1.2 1999/01/03 02:06:01 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -34,3 +36,4 @@ #define LASTVMEMPAGE (65535) #endif +#endif /* HDW_CONF_H */ diff --git a/inc/initatms.h b/inc/initatms.h old mode 100755 new mode 100644 index 943f9cc..6502d34 --- a/inc/initatms.h +++ b/inc/initatms.h @@ -1,3 +1,5 @@ +#ifndef INITATMS_H +#define INITATMS_H 1 /* $Id: initatms.h,v 1.2 1999/01/03 02:06:02 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -42,3 +44,4 @@ #define ATOM_STACKP 264 #define ATOM_CHARACTER 265 #define ATOM_VMEMPAGEP 266 +#endif /* INITATMS_H */ diff --git a/inc/kbdif.h b/inc/kbdif.h old mode 100755 new mode 100644 index 74a61c2..a02482e --- a/inc/kbdif.h +++ b/inc/kbdif.h @@ -1,3 +1,5 @@ +#ifndef KBDIF_H +#define KBDIF_H 1 /* $Id: kbdif.h,v 1.2 1999/01/03 02:06:06 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -39,3 +41,4 @@ typedef struct { #define FALSE 0 #define TRUE !FALSE #endif /* TRUE */ +#endif /* KBDIF_H */ diff --git a/inc/keyboard.h b/inc/keyboard.h old mode 100755 new mode 100644 index 9d1764e..0593cb3 --- a/inc/keyboard.h +++ b/inc/keyboard.h @@ -1,3 +1,5 @@ +#ifndef KEYBOARD_H +#define KEYBOARD_H 1 /* $Id: keyboard.h,v 1.2 1999/01/03 02:06:06 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -189,3 +191,4 @@ typedef union DLword noeuro[MINKEYEVENT + (NUMBEROFKEYEVENTS * NOEUROKEYEVENTSIZE)]; } keybuffer; +#endif /* KEYBOARD_H */ diff --git a/inc/lispemul.h b/inc/lispemul.h old mode 100755 new mode 100644 index 787a8f4..ffb1ac3 --- a/inc/lispemul.h +++ b/inc/lispemul.h @@ -1,3 +1,5 @@ +#ifndef LISPEMUL_H +#define LISPEMUL_H 1 /* $Id: lispemul.h,v 1.4 2001/12/24 01:08:57 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -628,3 +630,4 @@ typedef struct newatom #define GETFPTOVP GETWORDBASEWORD #define GETPAGEOK GETWORDBASEWORD #endif +#endif /* LISPEMUL_H */ diff --git a/inc/lispver1.h b/inc/lispver1.h old mode 100755 new mode 100644 index c6ec6ca..9fa8664 --- a/inc/lispver1.h +++ b/inc/lispver1.h @@ -1,3 +1,5 @@ +#ifndef LISPVER1_H +#define LISPVER1_H 1 /* $Id: lispver1.h,v 1.2 1999/01/03 02:06:08 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ /* DOS version of LispVersionToUnixVersion */ @@ -42,3 +44,4 @@ } \ else ver = -1; \ } +#endif /* LISPVER1_H */ diff --git a/inc/lispver2.h b/inc/lispver2.h old mode 100755 new mode 100644 index f418506..abe7ad5 --- a/inc/lispver2.h +++ b/inc/lispver2.h @@ -1,3 +1,5 @@ +#ifndef LISPVER2_H +#define LISPVER2_H 1 /* $Id: lispver2.h,v 1.2 1999/01/03 02:06:09 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ /* non-DOS version of LispVersionToUnixVersion */ @@ -69,3 +71,4 @@ } \ } \ } +#endif /* LISPVER2_H */ diff --git a/inc/lldsp.h b/inc/lldsp.h old mode 100755 new mode 100644 index 82debb5..1d41e0e --- a/inc/lldsp.h +++ b/inc/lldsp.h @@ -1,3 +1,5 @@ +#ifndef LLDSP_H +#define LLDSP_H 1 /* $Id: lldsp.h,v 1.2 1999/01/03 02:06:09 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -212,3 +214,4 @@ typedef struct { LispPTR WINDOWENTRYFN; LispPTR SCREEN; } WINDOW; +#endif /* LLDSP_H */ diff --git a/inc/locfile.h b/inc/locfile.h old mode 100755 new mode 100644 index dba777f..90d67ad --- a/inc/locfile.h +++ b/inc/locfile.h @@ -1,3 +1,5 @@ +#ifndef LOCFILE_H +#define LOCFILE_H 1 /* $Id: locfile.h,v 1.2 1999/01/03 02:06:13 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -638,3 +640,4 @@ extern int errno; #endif #endif +#endif /* LOCFILE_H */ diff --git a/inc/lpdefs.h b/inc/lpdefs.h old mode 100755 new mode 100644 index 0f937c4..898834d --- a/inc/lpdefs.h +++ b/inc/lpdefs.h @@ -1,3 +1,5 @@ +#ifndef LPDEFS_H +#define LPDEFS_H 1 /* $Id: lpdefs.h,v 1.2 1999/01/03 02:06:13 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -180,11 +182,4 @@ typedef struct solve_state #define ERR_BUG 0x40 /* Any lp_solve-bug exit */ #define ERR_BUG_CONDCOL 0x41 /* Condensecol out-of-bounds */ - - - - - - - - +#endif /* LPDEFS_H */ diff --git a/inc/lpglob.h b/inc/lpglob.h old mode 100755 new mode 100644 index 5149c23..87b3ec1 --- a/inc/lpglob.h +++ b/inc/lpglob.h @@ -1,3 +1,5 @@ +#ifndef LPGLOB_H +#define LPGLOB_H 1 /* $Id: lpglob.h,v 1.2 1999/01/03 02:06:13 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ /* Globals */ @@ -77,3 +79,4 @@ extern rside *First_rside; extern short Ignore_decl; extern tmp_store_struct tmp_store; +#endif /* LPGLOB_H */ diff --git a/inc/lpglobl.h b/inc/lpglobl.h old mode 100755 new mode 100644 index 17e6a3c..19c2026 --- a/inc/lpglobl.h +++ b/inc/lpglobl.h @@ -1,3 +1,5 @@ +#ifndef LPGLOBL_H +#define LPGLOBL_H 1 /* $Id: lpglobl.h,v 1.2 1999/01/03 02:06:14 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -68,3 +70,4 @@ extern int SolveCount; extern jmp_buf LP_jmpbuf; +#endif /* LPGLOBL_H */ diff --git a/inc/lppatch.h b/inc/lppatch.h old mode 100755 new mode 100644 index 8b3d5e0..8405846 --- a/inc/lppatch.h +++ b/inc/lppatch.h @@ -1,2 +1,5 @@ +#ifndef LPPATCH_H +#define LPPATCH_H 1 /* $Id: lppatch.h,v 1.2 1999/01/03 02:06:15 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ #define PATCHLEVEL "1.5" +#endif /* LPPATCH_H */ diff --git a/inc/lpproto.h b/inc/lpproto.h old mode 100755 new mode 100644 index be6d973..cda1e11 --- a/inc/lpproto.h +++ b/inc/lpproto.h @@ -1,3 +1,5 @@ +#ifndef LPPROTO_H +#define LPPROTO_H 1 /* $Id: lpproto.h,v 1.2 1999/01/03 02:06:15 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ /* dual.c */ void rowdual(int *rownr); @@ -34,3 +36,4 @@ void print_solution(FILE *stream, REAL *sol, REAL *duals); void debug_print_solution(REAL *sol); void debug_print_bounds(REAL *upbo, REAL *lowbo); void debug_print(char *format, ...); +#endif /* LPPROTO_H */ diff --git a/inc/lsptypes.h b/inc/lsptypes.h old mode 100755 new mode 100644 index 0a8c92a..76e9d1e --- a/inc/lsptypes.h +++ b/inc/lsptypes.h @@ -1,3 +1,5 @@ +#ifndef LSPTYPES_H +#define LSPTYPES_H 1 /* @(#) lsptypes.h Version 1.4 (12/29/94). copyright Venue */ @@ -711,3 +713,4 @@ typedef /* low-order 12 bits first. */ } BIGNUM; +#endif /* LSPTYPES_H */ diff --git a/inc/medleyfp.h b/inc/medleyfp.h old mode 100755 new mode 100644 index 10d782c..e2d162f --- a/inc/medleyfp.h +++ b/inc/medleyfp.h @@ -1,3 +1,5 @@ +#ifndef MEDLEYFP_H +#define MEDLEYFP_H 1 /* $Id: medleyfp.h,v 1.2 1999/01/03 02:06:16 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -52,3 +54,4 @@ volatile extern int FP_error; #define FPTEST(result) (!isfinite(result)) #endif /* FLTINT */ +#endif /* MEDLEYFP_H */ diff --git a/inc/miscstat.h b/inc/miscstat.h old mode 100755 new mode 100644 index 116e2bb..097ff63 --- a/inc/miscstat.h +++ b/inc/miscstat.h @@ -1,3 +1,5 @@ +#ifndef MISCSTAT_H +#define MISCSTAT_H 1 /* $Id: miscstat.h,v 1.2 1999/01/03 02:06:17 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ /* @@ -51,3 +53,4 @@ typedef struct misc int dlmousetimer; int dlmousetemp; } MISCSTATS; +#endif /* MISCSTAT_H */ diff --git a/inc/mnxdefs.h b/inc/mnxdefs.h old mode 100755 new mode 100644 index 1bf74f6..8fc2b17 --- a/inc/mnxdefs.h +++ b/inc/mnxdefs.h @@ -1,3 +1,5 @@ +#ifndef MNXDEFS_H +#define MNXDEFS_H 1 /* $Id: mnxdefs.h,v 1.2 1999/01/03 02:06:17 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -522,3 +524,4 @@ typedef union mnwevenT #ifndef min #define min( a, b ) (((a)<(b))?(a):(b)) #endif /* min */ +#endif /* MNXDEFS_H */ diff --git a/inc/my.h b/inc/my.h old mode 100755 new mode 100644 index fc3ae16..4e485f9 --- a/inc/my.h +++ b/inc/my.h @@ -1,3 +1,5 @@ +#ifndef MY_H +#define MY_H 1 /* @(#) my.h Version 2.15 (2/8/93). copyright venue */ /************************************************************************/ @@ -229,3 +231,4 @@ aref_switch(int type, LispPTR tos, LispPTR baseL, int index) ERROR_EXIT(tos); \ }/* end switch typenumber */ \ } +#endif /* MY_H */ diff --git a/inc/native.h b/inc/native.h old mode 100755 new mode 100644 index 05378b5..380126a --- a/inc/native.h +++ b/inc/native.h @@ -1,3 +1,5 @@ +#ifndef NATIVE_H +#define NATIVE_H 1 /* $Id: native.h,v 1.2 1999/01/03 02:06:18 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -822,3 +824,4 @@ extern int Irq_Stk_End; extern int Irq_Stk_Check; extern LispPTR native_closure_env; +#endif /* NATIVE_H */ diff --git a/inc/nfsfh.h b/inc/nfsfh.h old mode 100755 new mode 100644 index d8093a8..ce56714 --- a/inc/nfsfh.h +++ b/inc/nfsfh.h @@ -1,3 +1,5 @@ +#ifndef NFSFH_H +#define NFSFH_H 1 /* $Id: nfsfh.h,v 1.2 1999/01/03 02:06:18 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ /* * @@ -41,3 +43,4 @@ typedef struct { #define fsid_eq(a,b) ((a.fsid_code == b.fsid_code) &&\ dev_eq(a.fsid_dev, b.fsid_dev)) +#endif /* NFSFH_H */ diff --git a/inc/nfswatch.h b/inc/nfswatch.h old mode 100755 new mode 100644 index cd440d2..5484161 --- a/inc/nfswatch.h +++ b/inc/nfswatch.h @@ -1,3 +1,5 @@ +#ifndef NFSWATCH_H +#define NFSWATCH_H 1 /* $Id: nfswatch.h,v 1.2 1999/01/03 02:06:18 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ /* @@ -414,3 +416,4 @@ typedef long fd_mask; */ #define OFFADDR(s, n) (u_char*)((char*)(s) + (int)(n)) +#endif /* NFSWATCH_H */ diff --git a/inc/opcodes.h b/inc/opcodes.h old mode 100755 new mode 100644 index 7e23984..c7cc67c --- a/inc/opcodes.h +++ b/inc/opcodes.h @@ -1,3 +1,5 @@ +#ifndef OPCODES_H +#define OPCODES_H 1 /* $Id: opcodes.h,v 1.2 1999/01/03 02:06:19 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ /************************************************************************/ @@ -42,3 +44,4 @@ #define opc_TJUMP 0240 #define opc_JUMPX 0260 #define opc_JUMPXX 0261 +#endif /* OPCODES_H */ diff --git a/inc/os.h b/inc/os.h old mode 100755 new mode 100644 index ca3b91d..929dd10 --- a/inc/os.h +++ b/inc/os.h @@ -1,3 +1,5 @@ +#ifndef OS_H +#define OS_H 1 /* $Id: os.h,v 1.2 1999/01/03 02:06:19 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ /* * @@ -100,3 +102,4 @@ #define bcmp(a,b,n) memcmp(a,b,n) #define bcopy(a,b,n) memcpy(b,a,n) #endif +#endif /* OS_H */ diff --git a/inc/osmsg.h b/inc/osmsg.h old mode 100755 new mode 100644 index 86dbb6a..243e181 --- a/inc/osmsg.h +++ b/inc/osmsg.h @@ -1,3 +1,5 @@ +#ifndef OSMSG_H +#define OSMSG_H 1 /* $Id: osmsg.h,v 1.2 1999/01/03 02:06:20 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -20,3 +22,4 @@ print_exp; \ } +#endif /* OSMSG_H */ diff --git a/inc/picture.h b/inc/picture.h old mode 100755 new mode 100644 index fb5f6c7..5c957be --- a/inc/picture.h +++ b/inc/picture.h @@ -1,3 +1,5 @@ +#ifndef PICTURE_H +#define PICTURE_H 1 /* $Id: picture.h,v 1.2 1999/01/03 02:06:20 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -17,3 +19,4 @@ typedef struct _picture{ unsigned int storage; LispPTR userdata; } LispPicture; +#endif /* PICTURE_H */ diff --git a/inc/pilotbbt.h b/inc/pilotbbt.h old mode 100755 new mode 100644 index 1827ad0..aee3928 --- a/inc/pilotbbt.h +++ b/inc/pilotbbt.h @@ -1,3 +1,5 @@ +#ifndef PILOTBBT_H +#define PILOTBBT_H 1 /* $Id: pilotbbt.h,v 1.2 1999/01/03 02:06:21 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -138,3 +140,4 @@ typedef struct texturebbt #endif /* BYTESWAP */ +#endif /* PILOTBBT_H */ diff --git a/inc/print.h b/inc/print.h old mode 100755 new mode 100644 index 3a0e29d..829eef8 --- a/inc/print.h +++ b/inc/print.h @@ -1,3 +1,5 @@ +#ifndef PRINT_H +#define PRINT_H 1 /* $Id: print.h,v 1.2 1999/01/03 02:06:21 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -37,3 +39,4 @@ #define DOUBLEQUOTE 34 #define ATOMINDEXDOT 48 +#endif /* PRINT_H */ diff --git a/inc/profile.h b/inc/profile.h old mode 100755 new mode 100644 index 1dfd14a..7c4971c --- a/inc/profile.h +++ b/inc/profile.h @@ -1,3 +1,5 @@ +#ifndef PROFILE_H +#define PROFILE_H 1 /* $Id: profile.h,v 1.2 1999/01/03 02:06:21 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ /* DEFINE PROFILE if you want to turn on profiling */ @@ -283,3 +285,4 @@ #define CASE375 ASM("_op375:", " .globl _op375"); case375 #define CASE376 ASM("_op376:", " .globl _op376"); case376 #define CASE377 ASM("_op377:", " .globl _op377"); case377 +#endif /* PROFILE_H */ diff --git a/inc/rawrs232c.h b/inc/rawrs232c.h old mode 100755 new mode 100644 index bf45739..ed4fe0d --- a/inc/rawrs232c.h +++ b/inc/rawrs232c.h @@ -1,3 +1,5 @@ +#ifndef RAWRS232C_H +#define RAWRS232C_H 1 /* $Id: rawrs232c.h,v 1.2 1999/01/03 02:06:22 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -34,3 +36,4 @@ LispPTR RTSCTSCnt; #define RAW_RS_LF 2 #define RAW_RS_CRLF 3 +#endif /* RAWRS232C_H */ diff --git a/inc/return.h b/inc/return.h old mode 100755 new mode 100644 index aa4331b..8dcb819 --- a/inc/return.h +++ b/inc/return.h @@ -1,3 +1,5 @@ +#ifndef RETURN_H +#define RETURN_H 1 /* $Id: return.h,v 1.2 1999/01/03 02:06:22 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -110,3 +112,4 @@ S_CHECK( EndSTKP > CurrentStackPTR, \ "End of stack isn't beyond current stk pointer."); \ } +#endif /* RETURN_H */ diff --git a/inc/stream.h b/inc/stream.h old mode 100755 new mode 100644 index bb14056..10e5575 --- a/inc/stream.h +++ b/inc/stream.h @@ -1,3 +1,5 @@ +#ifndef STREAM_H +#define STREAM_H 1 /* $Id: stream.h,v 1.2 1999/01/03 02:06:23 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -176,3 +178,4 @@ typedef struct stream #endif /* BYTESWAP */ +#endif /* STREAM_H */ diff --git a/inc/sysatms.h b/inc/sysatms.h old mode 100755 new mode 100644 index 4750a1c..f1b7364 --- a/inc/sysatms.h +++ b/inc/sysatms.h @@ -1,3 +1,5 @@ +#ifndef SYSATMS_H +#define SYSATMS_H 1 /* $Id: sysatms.h,v 1.2 1999/01/03 02:06:27 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -28,3 +30,4 @@ #define ATOM_LeastMDSPage 03567 /* \LeastMDSPage */ #define ATOM_ArrayFrLst 03552 /* \ArrayFrLst */ #define ATOM_RECLAIMCOUNTDOWN 02113 /* \RECLAIM.COUNTDOWN */ +#endif /* SYSATMS_H */ diff --git a/inc/timeout.h b/inc/timeout.h old mode 100755 new mode 100644 index 6adb9ad..e6e3908 --- a/inc/timeout.h +++ b/inc/timeout.h @@ -1,3 +1,5 @@ +#ifndef TIMEOUT_H +#define TIMEOUT_H 1 /* $Id: timeout.h,v 1.2 1999/01/03 02:06:27 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -68,3 +70,4 @@ extern int TIMEOUT_TIME; #define INTRSAFE0(exp) \ do {} while ((int)(exp) == 0 && errno == EINTR) +#endif /* TIMEOUT_H */ diff --git a/inc/tos1defs.h b/inc/tos1defs.h old mode 100755 new mode 100644 index c95af92..e512f62 --- a/inc/tos1defs.h +++ b/inc/tos1defs.h @@ -1,3 +1,5 @@ +#ifndef TOS1DEFS_H +#define TOS1DEFS_H 1 /* $Id: tos1defs.h,v 1.2 1999/01/03 02:06:27 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -122,3 +124,4 @@ }; \ nextop0; \ } +#endif /* TOS1DEFS_H */ diff --git a/inc/tosret.h b/inc/tosret.h old mode 100755 new mode 100644 index 8ede0e7..54de5c9 --- a/inc/tosret.h +++ b/inc/tosret.h @@ -1,3 +1,5 @@ +#ifndef TOSRET_H +#define TOSRET_H 1 /* $Id: tosret.h,v 1.2 1999/01/03 02:06:28 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -86,3 +88,4 @@ retxit: {} \ } /* OPRETURN end */ #endif +#endif /* TOSRET_H */ diff --git a/inc/tty.h b/inc/tty.h old mode 100755 new mode 100644 index 76a5e24..8226e9b --- a/inc/tty.h +++ b/inc/tty.h @@ -1,3 +1,5 @@ +#ifndef TTY_H +#define TTY_H 1 /* $Id: tty.h,v 1.2 1999/01/03 02:06:29 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -74,3 +76,4 @@ typedef struct { extern DLword *Lisp_world; +#endif /* TTY_H */ diff --git a/inc/unixfork.h b/inc/unixfork.h index 5572baa..4b26bc3 100644 --- a/inc/unixfork.h +++ b/inc/unixfork.h @@ -1,2 +1,5 @@ +#ifndef UNIXFORK_H +#define UNIXFORK_H 1 int fork_Unix(void); int ForkUnixShell(int slot, char *PtySlave, char *termtype, char *shellarg); +#endif /* UNIXFORK_H */ diff --git a/inc/version.h b/inc/version.h old mode 100755 new mode 100644 index 2135c58..3228e86 --- a/inc/version.h +++ b/inc/version.h @@ -1,3 +1,5 @@ +#ifndef VERSION_H +#define VERSION_H 1 /* $Id: version.h,v 1.5 2001/12/26 22:17:01 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -310,3 +312,4 @@ typedef unsigned short u_short; /* End of system-specific flag settings */ /****************************************************************/ +#endif /* VERSION_H */ diff --git a/inc/vmemsave.h b/inc/vmemsave.h old mode 100755 new mode 100644 index 6ef2358..9188b8c --- a/inc/vmemsave.h +++ b/inc/vmemsave.h @@ -1,3 +1,5 @@ +#ifndef VMEMSAVE_H +#define VMEMSAVE_H 1 /* $Id: vmemsave.h,v 1.2 1999/01/03 02:06:29 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -20,3 +22,4 @@ #define SKIPPAGES 301 /* save first filepage */ #define SKIP_DOMINOPAGES 153600 /* Byte size in sysoutfile for dominocode */ #define SAVE_IFPAGE 223 /* Virtual address for IFPAGES's buffer page. This value is \EMUSWAPBUFFERS in lisp. */ +#endif /* VMEMSAVE_H */ diff --git a/inc/xbitmaps.h b/inc/xbitmaps.h old mode 100755 new mode 100644 index cb6d143..03d65dc --- a/inc/xbitmaps.h +++ b/inc/xbitmaps.h @@ -1,3 +1,5 @@ +#ifndef XBITMAPS_H +#define XBITMAPS_H 1 /* $Id: xbitmaps.h,v 1.3 2001/12/24 01:08:58 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ @@ -398,3 +400,4 @@ char Lisp_icon[] = 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; +#endif /* XBITMAPS_H */ diff --git a/inc/xscroll.h b/inc/xscroll.h index b5d0bb5..abb1f51 100644 --- a/inc/xscroll.h +++ b/inc/xscroll.h @@ -1,3 +1,5 @@ +#ifndef XSCROLL_H +#define XSCROLL_H 1 /************************************************************************/ /* */ /* xscroll.h */ @@ -13,3 +15,4 @@ void ScrollLeft(DspInterface dsp); void ScrollRight(DspInterface dsp); void ScrollUp(DspInterface dsp); void ScrollDown(DspInterface dsp); +#endif /* XSCROLL_H */