prevent multiple includes

This commit is contained in:
ceriel 1988-09-27 09:50:34 +00:00
parent 8a8d0d9151
commit 751854f36a
3 changed files with 9 additions and 3 deletions

View file

@ -3,8 +3,8 @@
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright". * See the copyright notice in the ACK home directory, in the file "Copyright".
*/ */
#ifndef ALLOC_INCLUDED #ifndef __ALLOC_INCLUDED__
#define ALLOC_INCLUDED #define __ALLOC_INCLUDED__
/* PROGRAM'S INTERFACE TO MEMORY ALLOCATION ROUTINES */ /* PROGRAM'S INTERFACE TO MEMORY ALLOCATION ROUTINES */
/* This file serves as the interface between the program and the /* 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), \ #define st_free(ptr, phead, size) (botch((char *)(ptr), size), \
_A_st_free(ptr, phead, size)) _A_st_free(ptr, phead, size))
#endif BOTCH_FREE #endif BOTCH_FREE
#endif ALLOC_INCLUDED #endif __ALLOC_INCLUDED__

View file

@ -3,6 +3,8 @@
* See the copyright notice in the ACK home directory, in the file "Copyright". * See the copyright notice in the ACK home directory, in the file "Copyright".
*/ */
/* $Header$ */ /* $Header$ */
#ifndef __EMCOMP_INCLUDED__
#define __EMCOMP_INCLUDED__
struct e_arg { struct e_arg {
int ema_argtype; /* type of this argument */ int ema_argtype; /* type of this argument */
@ -70,3 +72,4 @@ extern unsigned int
EM_lineno; EM_lineno;
extern int extern int
EM_wordsize, EM_pointersize; EM_wordsize, EM_pointersize;
#endif __EMCOMP_INCLUDED__

View file

@ -3,6 +3,8 @@
* See the copyright notice in the ACK home directory, in the file "Copyright". * See the copyright notice in the ACK home directory, in the file "Copyright".
*/ */
/* RCS: $Header$ */ /* RCS: $Header$ */
#ifndef __SYSTEM_INCLUDED__
#define __SYSTEM_INCLUDED__
struct _sys_fildes { struct _sys_fildes {
int o_fd; /* UNIX filedescriptor */ int o_fd; /* UNIX filedescriptor */
@ -42,3 +44,4 @@ extern File _sys_ftab[];
/* system's idea of block */ /* system's idea of block */
#define BUFSIZ 1024 #define BUFSIZ 1024
#endif __SYSTEM_INCLUDED__