#ifndef HSPINCL_H #define HSPINCL_H #include "../../includes/config.h" #if __STDC__ #define PROTO(x) x #define NO_ARGS void #define CONST const #define VOID void #define VOID_STAR void * #define VOLATILE volatile #else #define PROTO(x) () #define NO_ARGS /* no args */ #define CONST /* no const */ #define VOID void /* hope for the best... */ #define VOID_STAR long * #define VOLATILE /* no volatile */ #endif /* ! __STDC__ */ #if defined(STDC_HEADERS) || defined(HAVE_STRING_H) #include /* An ANSI string.h and pre-ANSI memory.h might conflict. */ #if !defined(STDC_HEADERS) && defined(HAVE_MEMORY_H) #include #endif /* not STDC_HEADERS and HAVE_MEMORY_H */ #define index strchr #define rindex strrchr #define bcopy(s, d, n) memcpy ((d), (s), (n)) #define bcmp(s1, s2, n) memcmp ((s1), (s2), (n)) #define bzero(s, n) memset ((s), 0, (n)) #else /* not STDC_HEADERS and not HAVE_STRING_H */ #include /* memory.h and strings.h conflict on some systems. */ #endif /* not STDC_HEADERS and not HAVE_STRING_H */ #ifdef HAVE_MALLOC_H #include #endif #ifdef HAVE_STDLIB_H #include #endif #include "id.h" #include "qid.h" #include "literal.h" #include "list.h" #include "maybe.h" #include "either.h" #include "ttype.h" #include "constr.h" #include "binding.h" #include "entidt.h" #include "tree.h" #include "pbinding.h" extern char *input_filename; #endif /* HSPINCL_H */