View | Details | Raw Unified | Return to bug 159173 | Differences between
and this patch

Collapse All | Expand All

(-)spice/files/patch-src_lib_fte_device_c (-4 / +21 lines)
Lines 1-6 Link Here
1
--- src/lib/fte/device.c.orig	Thu Jul 29 19:09:59 1993
1
--- src/lib/fte/device.c.orig	1993-07-30 02:09:59.000000000 +0000
2
+++ src/lib/fte/device.c	Thu Sep 30 13:16:51 2004
2
+++ src/lib/fte/device.c	2011-07-26 23:17:58.000000000 +0000
3
@@ -619,7 +619,7 @@
3
@@ -14,6 +14,8 @@
4
 #include "ftedefs.h"
5
 #include "dgen.h"
6
 
7
+void com_alter_common(wordlist *wl, int do_model);
8
+
9
 static wordlist *devexpand();
10
 
11
 /*
12
@@ -576,6 +578,7 @@
13
     com_alter_common(wl, 1);
14
 }
15
 
16
+void
17
 com_alter_common(wl, do_model)
18
     wordlist *wl;
19
     int	do_model;
20
@@ -619,7 +622,7 @@
4
 	n2 = names;
21
 	n2 = names;
5
     }
22
     }
6
 
23
 
Lines 9-15 Link Here
9
 	fprintf(cp_err, "alter: don't understand \"%s\"\n", names->pn_name);
26
 	fprintf(cp_err, "alter: don't understand \"%s\"\n", names->pn_name);
10
 	fprintf(cp_err, "usage: alter dev param = expression\n");
27
 	fprintf(cp_err, "usage: alter dev param = expression\n");
11
 	fprintf(cp_err, "  or   alter @dev[param] = expression\n");
28
 	fprintf(cp_err, "  or   alter @dev[param] = expression\n");
12
@@ -661,7 +661,9 @@
29
@@ -661,7 +664,9 @@
13
     }
30
     }
14
 
31
 
15
     dv = ft_evaluate(n2->pn_right);
32
     dv = ft_evaluate(n2->pn_right);
(-)spice/files/patch-src_lib_fte_x11_c (-8 / +54 lines)
Lines 1-6 Link Here
1
--- src/lib/fte/x11.c.orig	Wed Apr 14 21:44:56 1993
1
--- src/lib/fte/x11.c.orig	1993-04-14 19:44:56.000000000 +0000
2
+++ src/lib/fte/x11.c	Sun Aug 15 19:06:31 2004
2
+++ src/lib/fte/x11.c	2011-07-26 23:16:48.000000000 +0000
3
@@ -120,7 +120,10 @@
3
@@ -36,6 +36,10 @@
4
 extern int _Xdebug;
5
 #  endif
6
 
7
+void initlinestyles(void);
8
+void initcolors(GRAPH *graph);
9
+void slopelocation(GRAPH *graph, int x0, int y0;);
10
+
11
 /* forward declarations */
12
 extern void handlebuttonev(), handlekeypressed(), killwin(), hardcopy(),
13
 	    redraw(), resize();
14
@@ -120,7 +124,10 @@
4
 	/* "invert" works better than "xor" for B&W */
15
 	/* "invert" works better than "xor" for B&W */
5
 
16
 
6
 	/* xor gc should be a function of the pixels that are written on */
17
 	/* xor gc should be a function of the pixels that are written on */
Lines 12-36 Link Here
12
 	gcvalues.line_width = 1;
23
 	gcvalues.line_width = 1;
13
 	gcvalues.foreground = 1;
24
 	gcvalues.foreground = 1;
14
 	gcvalues.background = 0;
25
 	gcvalues.background = 0;
15
@@ -302,7 +305,7 @@
26
@@ -152,7 +159,7 @@
27
 {
28
 	XGetErrorText(display, errorev->error_code, ErrorMessage, 1024);
29
 	externalerror(ErrorMessage);
30
-	return;
31
+	return (0);
32
 }
33
 
34
 /* Recover from bad NewViewPort call. */
35
@@ -302,7 +309,8 @@
16
 	return (0);
36
 	return (0);
17
 }
37
 }
18
 
38
 
19
-static
39
-static
20
+/* PN static */
40
+/* PN static */
41
+void
21
 initlinestyles()
42
 initlinestyles()
22
 {
43
 {
23
 
44
 
24
@@ -318,7 +321,7 @@
45
@@ -318,7 +326,8 @@
25
 	return;
46
 	return;
26
 }
47
 }
27
 
48
 
28
-static
49
-static
29
+/* PN static */
50
+/* PN static */
51
+void
30
 initcolors(graph)
52
 initcolors(graph)
31
     GRAPH *graph;
53
     GRAPH *graph;
32
 {
54
 {
33
@@ -805,8 +808,9 @@
55
@@ -405,6 +414,7 @@
56
 }
57
 
58
 /*ARGSUSED*/
59
+void
60
 X11_Arc(x0, y0, radius, theta1, theta2)
61
 int x0, y0, radius;
62
 double theta1, theta2;
63
@@ -612,6 +622,7 @@
64
 }
65
 #  endif
66
 
67
+void
68
 slopelocation(graph, x0, y0)
69
 GRAPH *graph;
70
 int x0, y0;         /* initial position of mouse */
71
@@ -805,8 +816,9 @@
34
 
72
 
35
 	/* Iplots are done asynchronously */
73
 	/* Iplots are done asynchronously */
36
 	DEVDEP(graph).isopen = 0;
74
 	DEVDEP(graph).isopen = 0;
Lines 41-47 Link Here
41
 
79
 
42
 }
80
 }
43
 
81
 
44
@@ -942,7 +946,8 @@
82
@@ -915,6 +927,7 @@
83
 }
84
 #  endif
85
 
86
+void
87
 X11_Input(request, response)
88
     REQUEST *request;
89
     RESPONSE *response;
90
@@ -942,7 +955,8 @@
45
 	            1 << ConnectionNumber(display);
91
 	            1 << ConnectionNumber(display);
46
 
92
 
47
 	      /* block on ConnectionNumber and request->fp */
93
 	      /* block on ConnectionNumber and request->fp */
Lines 51-57 Link Here
51
 
97
 
52
 	      /* handle X events first */
98
 	      /* handle X events first */
53
 	      if (readfds & (1 << ConnectionNumber(display))) {
99
 	      if (readfds & (1 << ConnectionNumber(display))) {
54
@@ -995,7 +1000,8 @@
100
@@ -995,7 +1009,8 @@
55
 
101
 
56
 }
102
 }
57
 
103
 
(-)spice/files/patch-src_lib_mfb_mfbgnc_c (+10 lines)
Line 0 Link Here
1
--- src/lib/mfb/mfbgnc.c.orig	2011-07-24 22:09:03.000000000 +0000
2
+++ src/lib/mfb/mfbgnc.c	2011-07-24 22:12:08.000000000 +0000
3
@@ -100,6 +100,7 @@
4
  * all other characters are ``self-inserting''.
5
  */
6
 
7
+void
8
 MFBGenCode(PM)
9
     char *PM;
10
     {

Return to bug 159173