summaryrefslogtreecommitdiff
path: root/lang/baci/patches/patch-ai
blob: 40c3e67dc0fc4da274ad9047d69f8a68eec65ab8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ai,v 1.1 2005/02/19 15:40:54 wiz Exp $

--- ccomp/bac.l.orig	1999-08-31 18:19:04.000000000 +0200
+++ ccomp/bac.l
@@ -3,6 +3,7 @@
 
 #include <ctype.h>
 #include <stdio.h>
+#include <string.h>
 #include <sys/types.h>
 
 #include "ytab.h"
@@ -11,11 +12,6 @@
 #include "../include/incfiles.h"
 #include "../include/computil.h"
 
-extern   int printf(const char*,...);
-extern   int fprintf(FILE*,const char*,...);
-extern   size_t fwrite(const void*,size_t,size_t,FILE*);
-extern   int fgetc(FILE*);
-extern   int fputc(int,FILE*);
 extern   void yyerror(char*);
 
 /* FLEX doesn't declare malloc and realloc before it uses them  */