/* -*-C-*-
-$Id: dstack.h,v 1.11 2003/02/14 18:28:18 cph Exp $
+$Id: dstack.h,v 1.12 2004/01/07 04:43:29 cph Exp $
Copyright (C) 1990-1999 Massachusetts Institute of Technology
#ifndef __DSTACK_H__
#define __DSTACK_H__
+#include "config.h"
#include "ansidecl.h"
#include <setjmp.h>
-#ifndef _SUNOS4
-extern void
- EXFUN (abort, (void)),
- EXFUN (exit, (int)),
- EXFUN (free, (void *));
+#ifdef STDC_HEADERS
+# include <stdlib.h>
#endif
extern void EXFUN (dstack_initialize, (void));
#define __OBSTACKS__
\f
#include "config.h"
+#include "ansidecl.h"
#ifdef STDC_HEADERS
+# include <stdlib.h>
# include <string.h>
#endif
/* Declare the external functions we use; they are in obstack.c. */
-#ifndef _SUNOS4
-extern void EXFUN (abort, (void));
-#endif
-
#ifdef HAVE_STDC
extern void _obstack_newchunk (struct obstack *, int);
extern void _obstack_free (struct obstack *, void *);
extern void _obstack_begin (struct obstack *, int, long,
- void *(*) (), void (*) ());
+ void * (*) (size_t), void (*) (void *));
#else
extern void _obstack_newchunk ();
extern void _obstack_free ();