From 751854f36a9cb32a1a3cc001426905397683941d Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 27 Sep 1988 09:50:34 +0000 Subject: [PATCH] prevent multiple includes --- modules/src/alloc/alloc.h | 6 +++--- modules/src/read_em/em_comp.h | 3 +++ modules/src/system/system.h | 3 +++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/modules/src/alloc/alloc.h b/modules/src/alloc/alloc.h index 50c789dbe..f84b0b13b 100644 --- a/modules/src/alloc/alloc.h +++ b/modules/src/alloc/alloc.h @@ -3,8 +3,8 @@ * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. * See the copyright notice in the ACK home directory, in the file "Copyright". */ -#ifndef ALLOC_INCLUDED -#define ALLOC_INCLUDED +#ifndef __ALLOC_INCLUDED__ +#define __ALLOC_INCLUDED__ /* PROGRAM'S INTERFACE TO MEMORY ALLOCATION ROUTINES */ /* This file serves as the interface between the program and the @@ -36,4 +36,4 @@ typedef struct _ALLOC_ { #define st_free(ptr, phead, size) (botch((char *)(ptr), size), \ _A_st_free(ptr, phead, size)) #endif BOTCH_FREE -#endif ALLOC_INCLUDED +#endif __ALLOC_INCLUDED__ diff --git a/modules/src/read_em/em_comp.h b/modules/src/read_em/em_comp.h index ef37dae06..2c51646dd 100644 --- a/modules/src/read_em/em_comp.h +++ b/modules/src/read_em/em_comp.h @@ -3,6 +3,8 @@ * See the copyright notice in the ACK home directory, in the file "Copyright". */ /* $Header$ */ +#ifndef __EMCOMP_INCLUDED__ +#define __EMCOMP_INCLUDED__ struct e_arg { int ema_argtype; /* type of this argument */ @@ -70,3 +72,4 @@ extern unsigned int EM_lineno; extern int EM_wordsize, EM_pointersize; +#endif __EMCOMP_INCLUDED__ diff --git a/modules/src/system/system.h b/modules/src/system/system.h index 0631f44b6..72e523e77 100644 --- a/modules/src/system/system.h +++ b/modules/src/system/system.h @@ -3,6 +3,8 @@ * See the copyright notice in the ACK home directory, in the file "Copyright". */ /* RCS: $Header$ */ +#ifndef __SYSTEM_INCLUDED__ +#define __SYSTEM_INCLUDED__ struct _sys_fildes { int o_fd; /* UNIX filedescriptor */ @@ -42,3 +44,4 @@ extern File _sys_ftab[]; /* system's idea of block */ #define BUFSIZ 1024 +#endif __SYSTEM_INCLUDED__