slackbuilds_ponce/development/dis6502/compilefix.diff
B. Watson a9efa8d569 development/dis6502: Added (flow-tracing disassembler for 6502).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
2017-09-08 23:21:10 +01:00

12 lines
350 B
Diff

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");