1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-03-06 02:59:14 +00:00

Update more header include guards. (#348)

Some of these didn't have include guards, some  used old names
for them. Now they follow the current convention.
This commit is contained in:
Bruce Mitchener
2021-02-12 01:42:07 +07:00
committed by GitHub
parent d1e0e006da
commit 694d9b08c6
14 changed files with 60 additions and 19 deletions

View File

@@ -1,3 +1,6 @@
#ifndef XKEYMAP_H
#define XKEYMAP_H 1
/* $Id: XKeymap.h,v 1.2 1999/01/03 02:05:48 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved
*/
@@ -252,3 +255,5 @@ int generic_X_keymap[] = {
-1, -1, -1};
#endif /* XWINDOW */
#endif

View File

@@ -1,3 +1,5 @@
#ifndef DEVIF_H
#define DEVIF_H 1
/* $Id: devif.h,v 1.2 1999/01/03 02:05:57 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */
@@ -10,10 +12,6 @@
/* */
/************************************************************************/
#ifndef __DEVIF__
#define __DEVIF__ 1
typedef void (*PFV)(); /* Pointer to Function returning Void */
typedef int (*PFI)(); /* Pointer to Function returning Int */
typedef char (*PFC)(); /* Pointer to Function returning Char */
@@ -300,5 +298,5 @@ typedef struct
#define MINKEYEVENT 2 /* leave 2 words for read,write offsets */
#define NUMBEROFKEYEVENTS 383
#endif /* __DEVIF__ */
#endif

View File

@@ -1,3 +1,6 @@
#ifndef DISPLAY_H
#define DISPLAY_H 1
/* $Id: display.h,v 1.2 1999/01/03 02:05:57 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */
@@ -82,3 +85,5 @@ void flush_display_ptrregion(DLword *ybase, UNSIGNED bitoffset, UNSIGNED w, UNSI
#ifdef BYTESWAP
void byte_swapped_displayregion(int x, int y, int w, int h);
#endif
#endif

View File

@@ -1,3 +1,5 @@
#ifndef IFPAGE_H
#define IFPAGE_H 1
/* $Id: ifpage.h,v 1.2 1999/01/03 02:06:01 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */
@@ -12,8 +14,6 @@
/* */
/************************************************************************/
#ifndef IFPAGE_DEFINED
#define IFPAGE_DEFINED (1)
#define IFPAGE_KEYVAL 0x15e3
#ifndef BYTESWAP
#ifdef BIGVM

View File

@@ -1,3 +1,6 @@
#ifndef INLINEC_H
#define INLINEC_H 1
/* $Id: inlineC.h,v 1.3 1999/01/03 02:06:02 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved
*/
@@ -1181,3 +1184,5 @@
CSTKPTRL -= 8; \
nextop1; \
} while (0)
#endif

View File

@@ -1,3 +1,5 @@
#ifndef IOPAGE_H
#define IOPAGE_H 1
/* $Id: iopage.h,v 1.2 1999/01/03 02:06:06 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */
@@ -9,8 +11,6 @@
/* Manufactured in the United States of America. */
/* */
/************************************************************************/
#ifndef IOPAGE_DEFINED
#define IOPAGE_DEFINED (1)
#ifndef BYTESWAP
/* Normal definition, for big-endian machines */
typedef struct iopage {

View File

@@ -1,3 +1,6 @@
#ifndef KEYSYM_H
#define KEYSYM_H 1
/* $Id: keysym.h,v 1.2 1999/01/03 02:06:07 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */
@@ -126,3 +129,5 @@
#define KEY_PROPS 109
#define KEY_PRSC 110
#define KEY_OPEN 111
#endif

View File

@@ -1,3 +1,6 @@
#ifndef LDEXDEFS_H
#define LDEXDEFS_H 1
/* $Id: ldeXdefs.h,v 1.2 1999/01/03 02:06:07 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */
/* * * * * X defs for all files in Medley * * * * */
@@ -12,9 +15,6 @@
/************************************************************************/
#ifndef __LDEXDEF__
#define __LDEXDEF__ 1
#include <signal.h>
#ifdef LOCK_X_UPDATES
#define XLOCK { XLocked++; /* printf("L"); fflush(stdout);*/}
@@ -34,5 +34,6 @@
extern int XLocked;
extern int XNeedSignal;
/* this is !0 if we're locked; it should be 0 or larger always */
#endif

View File

@@ -1,3 +1,6 @@
#ifndef LISPMAP_H
#define LISPMAP_H 1
/* $Id: lispmap.h,v 1.3 1999/01/03 02:06:08 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */
@@ -381,3 +384,5 @@
#define D_PNHI 010
#define D_DEFSHI 012
#define D_VALSHI 014
#endif

View File

@@ -1,3 +1,6 @@
#ifndef LPKIT_H
#define LPKIT_H 1
/* $Id: lpkit.h,v 1.2 1999/01/03 02:06:14 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */
/*
@@ -528,10 +531,4 @@ void invert(void);
extern jmp_buf LP_jmpbuf;
extern int SolveCount;
#endif

View File

@@ -1,3 +1,6 @@
#ifndef LSPGLOB_H
#define LSPGLOB_H 1
/* $Id: lspglob.h,v 1.2 1999/01/03 02:06:15 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */
@@ -168,3 +171,5 @@ extern int UnixPID;
/* Atom index for IL:\MVLIST, for the VALUES opcode */
extern LispPTR MVLIST_index;
#endif

View File

@@ -1,3 +1,6 @@
#ifndef RS232C_H
#define RS232C_H 1
/* $Id: rs232c.h,v 1.2 1999/01/03 02:06:22 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */
@@ -165,3 +168,5 @@ typedef struct {
} RS232C_ENCAPSULATION;
extern DLword *Lisp_world;
#endif

View File

@@ -1,3 +1,6 @@
#ifndef SUBRS_H
#define SUBRS_H 1
/* $Id: subrs.h,v 1.2 1999/01/03 02:06:24 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */
/* Do not edit this file! Instead, edit the list \initsubrs */
@@ -187,3 +190,5 @@
/* Assigned USER SUBR numbers */
#define user_subr_DUMMY 012
#define user_subr_SAMPLE_USER_SUBR 00
#endif

View File

@@ -1,3 +1,6 @@
#ifndef TOSFNS_H
#define TOSFNS_H 1
/* $Id: tosfns.h,v 1.2 1999/01/03 02:06:28 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved
*/
@@ -618,3 +621,5 @@
} /* end switch */ \
} while (0) /* EVAL end */
#endif
#endif