Initial import from FreeBSD RELENG_4:
[games.git] / contrib / perl5 / ext / SDBM_File / sdbm / linux.patches
1 *** sdbm.dist/./dbu.c   Mon Feb 17 21:18:52 1992
2 --- sdbm/./dbu.c        Mon Feb 17 21:11:20 1992
3 ***************
4 *** 12,18 ****
5   #endif
6   
7   extern int    getopt();
8 ! extern char   *strchr();
9   extern void   oops();
10   
11   char *progname;
12 --- 12,18 ----
13   #endif
14   
15   extern int    getopt();
16 ! /* extern char        *strchr(); */
17   extern void   oops();
18   
19   char *progname;
20 *** sdbm.dist/./makefile        Mon Feb 17 21:18:56 1992
21 --- sdbm/./makefile     Mon Feb 17 21:10:46 1992
22 ***************
23 *** 2,8 ****
24   # makefile for public domain ndbm-clone: sdbm
25   # DUFF: use duff's device (loop unroll) in parts of the code
26   #
27 ! CFLAGS = -O -DSDBM -DDUFF -DBSD42
28   #LDFLAGS = -p
29   
30   OBJS = sdbm.o pair.o hash.o
31 --- 2,8 ----
32   # makefile for public domain ndbm-clone: sdbm
33   # DUFF: use duff's device (loop unroll) in parts of the code
34   #
35 ! CFLAGS = -O -DSDBM -DDUFF
36   #LDFLAGS = -p
37   
38   OBJS = sdbm.o pair.o hash.o
39 *** sdbm.dist/./sdbm.c  Mon Feb 17 21:19:17 1992
40 --- sdbm/./sdbm.c       Mon Feb 17 21:12:59 1992
41 ***************
42 *** 25,30 ****
43 --- 25,31 ----
44   #endif
45   #include <errno.h>
46   #include <string.h>
47 + #include <unistd.h>
48   
49   #ifdef __STDC__
50   #include <stddef.h>
51 ***************
52 *** 43,49 ****
53   
54   extern char *malloc proto((unsigned int));
55   extern void free proto((void *));
56 ! extern long lseek();
57   
58   /*
59    * forward
60 --- 44,50 ----
61   
62   extern char *malloc proto((unsigned int));
63   extern void free proto((void *));
64 ! /* extern long lseek(); */
65   
66   /*
67    * forward