updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / ncpfs / ncpfs-2.2.6-gcc4.patch
blob7223b232c60a92b5cfc6b019b4599baad4175e56
1 diff -ur ncpfs-2.2.6-orig/lib/ncplib.c ncpfs-2.2.6/lib/ncplib.c
2 --- ncpfs-2.2.6-orig/lib/ncplib.c 2006-01-13 16:55:05.000000000 -0500
3 +++ ncpfs-2.2.6/lib/ncplib.c 2006-01-13 16:56:08.000000000 -0500
4 @@ -2421,7 +2421,7 @@
5 int i = 1;
6 NWCCODE nwerr;
8 - static int get_argument(int arg_no, const char **target) {
9 + int get_argument(int arg_no, const char **target) {
10 int count = 1;
12 if (target != NULL) {
13 diff -ur ncpfs-2.2.6-orig/util/nwpjmv.c ncpfs-2.2.6/util/nwpjmv.c
14 --- ncpfs-2.2.6-orig/util/nwpjmv.c 2006-01-13 16:55:05.000000000 -0500
15 +++ ncpfs-2.2.6/util/nwpjmv.c 2006-01-13 16:55:50.000000000 -0500
16 @@ -131,7 +131,7 @@
17 char *s = q->command;
18 char *target_end = target + target_size;
20 - static void add_string(const char *str)
21 + void add_string(const char *str)
23 int len = strlen(str);
24 if (target + len + 1 > target_end)
25 diff -ur ncpfs-2.2.6-orig/util/pserver.c ncpfs-2.2.6/util/pserver.c
26 --- ncpfs-2.2.6-orig/util/pserver.c 2006-01-13 16:55:05.000000000 -0500
27 +++ ncpfs-2.2.6/util/pserver.c 2006-01-13 16:55:36.000000000 -0500
28 @@ -153,7 +153,7 @@
29 char *s = q->command;
30 char *target_end = target + target_size;
32 - static void add_string(const char *str)
33 + void add_string(const char *str)
35 int len = strlen(str);
36 if (target + len + 1 > target_end)