|
Lines 1-18
Link Here
|
| 1 |
--- uudx.c.orig Sun Jan 29 16:44:42 1995 |
1 |
--- uudx.c.orig 1995-01-29 07:44:42 UTC |
| 2 |
+++ uudx.c Sat Feb 12 19:31:31 2000 |
2 |
+++ uudx.c |
| 3 |
@@ -89,7 +89,11 @@ |
3 |
@@ -89,7 +89,9 @@ struct utimbuf { |
| 4 |
#else |
4 |
#else |
| 5 |
#define strchr index |
5 |
#define strchr index |
| 6 |
extern char *strchr(); |
6 |
extern char *strchr(); |
|
|
7 |
-extern char *sprintf(); |
| 7 |
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) |
8 |
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) |
| 8 |
extern char *sprintf(); |
|
|
| 9 |
+#else |
9 |
+#else |
| 10 |
+extern int sprintf(); |
|
|
| 11 |
+#endif |
10 |
+#endif |
| 12 |
extern char *strcpy(); |
11 |
extern char *strcpy(); |
| 13 |
#endif /* BSD */ |
12 |
#endif /* BSD */ |
| 14 |
|
13 |
|
| 15 |
@@ -346,7 +350,7 @@ |
14 |
@@ -346,7 +348,7 @@ main(int argc, char *argv[]) |
| 16 |
norm_dir(work_file_name, p); |
15 |
norm_dir(work_file_name, p); |
| 17 |
} |
16 |
} |
| 18 |
strcat(work_file_name, "udXXXXXX"); |
17 |
strcat(work_file_name, "udXXXXXX"); |