File: 03_mute-compile-warnings

package info (click to toggle)
tetradraw 2.0.3-10
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,072 kB
  • sloc: sh: 7,102; ansic: 6,509; makefile: 28
file content (39 lines) | stat: -rw-r--r-- 1,115 bytes parent folder | download | duplicates (3)
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
Author: Rhonda D'Vine <rhonda@debian.org>	vim:ft=diff:
Description: Mute some compiler warnings that might raise bugs	vim:ft=diff:

Index: tetradraw-2.0.3/src/interface.c
===================================================================
--- tetradraw-2.0.3.orig/src/interface.c
+++ tetradraw-2.0.3/src/interface.c
@@ -28,6 +28,7 @@
 #include <dirent.h>
 #include <unistd.h>
 #include <time.h>
+#include <string.h>
 
 #include "internal.h"
 #include "types.h"
Index: tetradraw-2.0.3/src/multidraw.c
===================================================================
--- tetradraw-2.0.3.orig/src/multidraw.c
+++ tetradraw-2.0.3/src/multidraw.c
@@ -25,6 +25,7 @@
 #include <sys/socket.h>
 #include <ncursesw/ncurses.h>
 #include <stdarg.h>
+#include <string.h>
 
 #include "internal.h"
 #include "types.h"
Index: tetradraw-2.0.3/src/term.c
===================================================================
--- tetradraw-2.0.3.orig/src/term.c
+++ tetradraw-2.0.3/src/term.c
@@ -19,6 +19,7 @@
 
 #include <ncursesw/ncurses.h>
 #include <stdlib.h>
+ #include <string.h>
 #include <locale.h>
 #include <langinfo.h>