File: 1030-missing-prototypes.patch

package info (click to toggle)
convlit 1.8-8
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 796 kB
  • sloc: ansic: 8,168; makefile: 28
file content (82 lines) | stat: -rw-r--r-- 1,722 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Author: Andreas Beckmann <anbe@debian.org>
Description: fix building with -Werror=implicit-function-declaration

--- a/lib/newlzx/lzxglue.c
+++ b/lib/newlzx/lzxglue.c
@@ -28,6 +28,7 @@
  */
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include "litlib.h"
 #include "mspack.h"
 #include "lzx.h"
--- a/lib/newlzx/lzx.h
+++ b/lib/newlzx/lzx.h
@@ -166,4 +166,6 @@ extern int lzxd_decompress(struct lzxd_s
  */
 void lzxd_free(struct lzxd_stream *lzx);
 
+#include "../lzx/lzx.h"
+
 #endif
--- a/clit18/display.c
+++ b/clit18/display.c
@@ -22,6 +22,7 @@
 */
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include "litlib.h"
 
 extern void hexdump( unsigned char * ptr, int size );
--- a/clit18/drm5.c
+++ b/clit18/drm5.c
@@ -31,6 +31,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <assert.h>
+#include <ctype.h>
 #include "litlib.h"
 #include "utils.h"
 #include "d3des.h"
--- a/clit18/explode.c
+++ b/clit18/explode.c
@@ -24,6 +24,7 @@
 #include <stdio.h>
 #include <stdlib.h> 
 #include <string.h>
+#include <sys/stat.h>
 #include "clit.h"
 #include "litlib.h"
 #include "manifest.h"
--- a/clit18/hexdump.c
+++ b/clit18/hexdump.c
@@ -16,6 +16,7 @@
 #include <ctype.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 typedef unsigned char byte;
 
--- a/clit18/manifest.c
+++ b/clit18/manifest.c
@@ -23,6 +23,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include "litlib.h"
 #include "manifest.h"
 #include "utils.h"
--- a/clit18/transmute.c
+++ b/clit18/transmute.c
@@ -22,6 +22,7 @@
 */
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include "litlib.h"
 
 extern char * writingFilename;