aboutsummaryrefslogtreecommitdiff
path: root/development/dis6502/compilefix.diff
diff options
context:
space:
mode:
Diffstat (limited to 'development/dis6502/compilefix.diff')
-rw-r--r--development/dis6502/compilefix.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/development/dis6502/compilefix.diff b/development/dis6502/compilefix.diff
new file mode 100644
index 0000000000000..00a76e9d6534f
--- /dev/null
+++ b/development/dis6502/compilefix.diff
@@ -0,0 +1,12 @@
+diff -Naur dis6502-0.12/lex.l dis6502-0.12.patched/lex.l
+--- dis6502-0.12/lex.l 2004-01-17 18:25:28.000000000 -0500
++++ dis6502-0.12.patched/lex.l 2017-09-08 00:44:16.631761979 -0400
+@@ -91,7 +91,7 @@
+ emalloc(n)
+ unsigned n;
+ {
+- char *ptr, *malloc();
++ char *ptr;
+
+ if ((ptr = malloc(n)) == (char *) 0) {
+ (void) fprintf(stderr,"out of core");