Files
pkgsrc-ng/devel/as31/patches/patch-lexer.c
2013-09-26 17:14:40 +02:00

26 lines
467 B
C

$NetBSD: patch-lexer.c,v 1.1 2012/07/03 18:13:26 joerg Exp $
--- lexer.c.orig 2012-07-03 10:49:15.000000000 +0000
+++ lexer.c
@@ -23,16 +23,19 @@
*
*/
+#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <ctype.h>
#include "as31.h"
+void error(const char *, ...);
+
extern union ystack yylval;
extern int pass;
struct symbol *looksym();
struct opcode *lookop();
-char *malloc();
int lineno;
static char line[100],*lineptr=line;