along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/dstack.h,v 1.3 1992/01/20 16:03:50 jinx Exp $ */
+/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/dstack.h,v 1.4 1992/01/20 16:29:00 jinx Exp $ */
#ifndef __DSTACK_H__
#define __DSTACK_H__
#include <setjmp.h>
extern void
- EXFUN (free, (void *)),
- EXFUN (abort, (void));
+ EXFUN (abort, (void)),
+ EXFUN (exit, (int)),
+ EXFUN (free, (void *));
extern void EXFUN (dstack_initialize, (void));
/* Call this once to initialize the stack. */
struct obstack *h;
int size;
int alignment;
- POINTER (*chunkfun) ();
- void (*freefun) ();
+ POINTER EXFUN ((*chunkfun), (long));
+ void EXFUN ((*freefun), (PTR));
{
register struct _obstack_chunk* chunk; /* points to new chunk */
size = 4096 - extra;
}
- h->chunkfun = (struct _obstack_chunk * (*)()) chunkfun;
+ h->chunkfun = (struct _obstack_chunk * EXFUN((*),(long))) chunkfun;
h->freefun = freefun;
h->chunk_size = size;
h->alignment_mask = alignment - 1;
char *chunk_limit; /* address of char after current chunk */
int temp; /* Temporary for some macros. */
int alignment_mask; /* Mask of alignment for each object. */
- struct _obstack_chunk *(*chunkfun) (); /* User's fcn to allocate a chunk. */
- void (*freefun) (); /* User's function to free a chunk. */
+ /* User's fcn to allocate a chunk. */
+ struct _obstack_chunk * EXFUN ((*chunkfun), (long));
+ /* User's function to free a chunk. */
+ void EXFUN ((*freefun), (PTR));
};
/* Declare the external functions we use; they are in obstack.c. */
+extern void
+ EXFUN (abort, (void));
+
#ifdef __STDC__
extern void _obstack_newchunk (struct obstack *, int);
extern void _obstack_free (struct obstack *, void *);
/* -*-C-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/osscheme.c,v 1.3 1991/10/29 22:55:11 jinx Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/osscheme.c,v 1.4 1992/01/20 16:27:17 jinx Exp $
-Copyright (c) 1990-91 Massachusetts Institute of Technology
+Copyright (c) 1990-92 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
#include "scheme.h"
#include "osscheme.h"
\f
+extern void
+ EXFUN (signal_error_from_primitive, (long error_code));
+
void
DEFUN_VOID (error_out_of_channels)
{