summaryrefslogtreecommitdiff
path: root/yacc/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'yacc/defs.h')
-rw-r--r--yacc/defs.h20
1 files changed, 1 insertions, 19 deletions
diff --git a/yacc/defs.h b/yacc/defs.h
index a65e543232..6c368fbd6d 100644
--- a/yacc/defs.h
+++ b/yacc/defs.h
@@ -22,10 +22,6 @@
#include <stdlib.h>
#include "../config/s.h"
-#if macintosh
-#include "../byterun/rotatecursor.h"
-#endif
-
/* machine-dependent definitions */
/* the following definitions are for the Tahoe */
/* they might have to be changed for other machines */
@@ -120,19 +116,6 @@
/* storage allocation macros */
-#if macintosh
-
-#define INTERACT() ROTATECURSOR_MAGIC ()
-
-#define CALLOC(k,n) (INTERACT (), calloc((unsigned)(k),(unsigned)(n)))
-#define FREE(x) (INTERACT (), free((char*)(x)))
-#define MALLOC(n) (INTERACT (), malloc((unsigned)(n)))
-#define NEW(t) (INTERACT (), (t*)allocate(sizeof(t)))
-#define NEW2(n,t) (INTERACT (), (t*)allocate((unsigned)((n)*sizeof(t))))
-#define REALLOC(p,n) (INTERACT (), realloc((char*)(p),(unsigned)(n)))
-
-#else
-
#define CALLOC(k,n) (calloc((unsigned)(k),(unsigned)(n)))
#define FREE(x) (free((char*)(x)))
#define MALLOC(n) (malloc((unsigned)(n)))
@@ -140,8 +123,6 @@
#define NEW2(n,t) ((t*)allocate((unsigned)((n)*sizeof(t))))
#define REALLOC(p,n) (realloc((char*)(p),(unsigned)(n)))
-#endif /* macintosh */
-
/* the structure of a symbol table entry */
@@ -234,6 +215,7 @@ extern char *myname;
extern char *cptr;
extern char *line;
extern int lineno;
+extern char *virtual_input_file_name;
extern int outline;
extern char *action_file_name;