protect against multiple inclusions, commented text after #endif
This commit is contained in:
parent
da36c2b13f
commit
16e89fea1f
6
h/arch.h
6
h/arch.h
|
@ -3,6 +3,10 @@
|
|||
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
||||
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
||||
*/
|
||||
|
||||
#ifndef __ARCH_H_INCLUDED
|
||||
#define __ARCH_H_INCLUDED
|
||||
|
||||
#define ARMAG 0177545
|
||||
#define AALMAG 0177454
|
||||
|
||||
|
@ -17,3 +21,5 @@ struct ar_hdr {
|
|||
|
||||
#define AR_TOTAL 26
|
||||
#define AR_SIZE 22
|
||||
|
||||
#endif /* __ARCH_H_INCLUDED */
|
||||
|
|
|
@ -98,7 +98,7 @@ typedef struct { /* splitting coercions */
|
|||
int c2_repl[MAXSPLIT]; /* replacement instances */
|
||||
int c2_codep; /* code index */
|
||||
} c2_t,*c2_p;
|
||||
#endif MAXSPLIT
|
||||
#endif /* MAXSPLIT */
|
||||
|
||||
typedef struct { /* one to one coercions */
|
||||
int c3_texpno; /* token expression number */
|
||||
|
|
|
@ -150,7 +150,7 @@ typedef struct { /* splitting coercions */
|
|||
short c2_repl[MAXSPLIT];/* replacement instances */
|
||||
short c2_codep; /* code index */
|
||||
} c2_t,*c2_p;
|
||||
#endif MAXSPLIT
|
||||
#endif /* MAXSPLIT */
|
||||
|
||||
typedef struct { /* one to one coercions */
|
||||
short c3_texpno; /* token expression number */
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
/* $Header$ */
|
||||
/*
|
||||
* (c) copyright 1990 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
||||
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
||||
*/
|
||||
|
||||
/* Modula-2 runtime errors */
|
||||
|
||||
#define M2_TOOLARGE 64 /* stack of process too large */
|
||||
|
|
7
h/out.h
7
h/out.h
|
@ -3,12 +3,15 @@
|
|||
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
||||
*/
|
||||
/* $Header$ */
|
||||
|
||||
#ifndef __OUT_H_INCLUDED
|
||||
#define __OUT_H_INCLUDED
|
||||
/*
|
||||
* output format for ACK assemblers
|
||||
*/
|
||||
#ifndef ushort
|
||||
#define ushort unsigned short
|
||||
#endif ushort
|
||||
#endif /* ushort */
|
||||
|
||||
struct outhead {
|
||||
ushort oh_magic; /* magic number */
|
||||
|
@ -119,3 +122,5 @@ struct outname {
|
|||
#define OFF_RELO(x) (OFF_EMIT(x) + (x).oh_nemit)
|
||||
#define OFF_NAME(x) (OFF_RELO(x) + ((long)(x).oh_nrelo * SZ_RELO))
|
||||
#define OFF_CHAR(x) (OFF_NAME(x) + ((long)(x).oh_nname * SZ_NAME))
|
||||
|
||||
#endif /* __OUT_H_INCLUDED */
|
||||
|
|
|
@ -4,9 +4,12 @@
|
|||
*/
|
||||
/* $Header$ */
|
||||
|
||||
#ifndef __RANLIB_H_INCLUDED
|
||||
#define __RANLIB_H_INCLUDED
|
||||
|
||||
#ifndef SYMDEF
|
||||
# define SYMDEF "__.SYMDEF"
|
||||
#endif SYMDEF
|
||||
#endif /* SYMDEF */
|
||||
|
||||
/*
|
||||
* Structure of the SYMDEF table of contents for an archive.
|
||||
|
@ -27,3 +30,5 @@ struct ranlib {
|
|||
|
||||
#define SZ_RAN 8
|
||||
#define SF_RAN "44"
|
||||
|
||||
#endif /* __RANLIB_H_INCLUDED */
|
||||
|
|
Loading…
Reference in a new issue