1 |
ssuominen 10/11/03 11:38:40 |
2 |
|
3 |
Added: cpop-0.0.4-implicit-exit_memset_strlen.patch |
4 |
Log: |
5 |
#include fix and clean up wrt #343935 |
6 |
|
7 |
(Portage version: 2.2.0_alpha3/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 net-im/cpop/files/cpop-0.0.4-implicit-exit_memset_strlen.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/cpop/files/cpop-0.0.4-implicit-exit_memset_strlen.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/cpop/files/cpop-0.0.4-implicit-exit_memset_strlen.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: cpop-0.0.4-implicit-exit_memset_strlen.patch |
16 |
=================================================================== |
17 |
pop_common.c:5:3: warning: incompatible implicit declaration of built-in function ‘exit’ |
18 |
pop_common.c:10:3: warning: incompatible implicit declaration of built-in function ‘exit’ |
19 |
pop_client.c:61:3: warning: incompatible implicit declaration of built-in function ‘exit’ |
20 |
pop_gui_client.c:58:4: warning: incompatible implicit declaration of built-in function ‘memset’ |
21 |
pop_gui_client.c:72:27: warning: incompatible implicit declaration of built-in function ‘strlen’ |
22 |
pop_gui_client.c:128:3: warning: incompatible implicit declaration of built-in function ‘exit’ |
23 |
|
24 |
--- pop_client.c |
25 |
+++ pop_client.c |
26 |
@@ -1,11 +1,11 @@ |
27 |
#include <stdio.h> |
28 |
+#include <stdlib.h> |
29 |
#include <string.h> |
30 |
#include <sys/socket.h> |
31 |
#include <netinet/in.h> |
32 |
#include <arpa/inet.h> |
33 |
#include <errno.h> |
34 |
#include <glib.h> |
35 |
-#include <stdio.h> |
36 |
#include <netdb.h> |
37 |
#include "pop_common.h" |
38 |
#include "pop_client.h" |
39 |
--- pop_common.c |
40 |
+++ pop_common.c |
41 |
@@ -1,4 +1,5 @@ |
42 |
#include <stdio.h> |
43 |
+#include <stdlib.h> |
44 |
void errquit(char *message) |
45 |
{ |
46 |
perror(message); |
47 |
--- pop_gui_client.c |
48 |
+++ pop_gui_client.c |
49 |
@@ -1,3 +1,5 @@ |
50 |
+#include <stdlib.h> |
51 |
+#include <string.h> |
52 |
#include <netdb.h> |
53 |
#include <netinet/in.h> |
54 |
#include <arpa/inet.h> |