summaryrefslogtreecommitdiff
path: root/net/llnlxftp/patches/patch-aa
blob: 87296c8813d59caed8c3ed15148af2f372c65194 (plain)
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
$NetBSD: patch-aa,v 1.3 2013/03/02 17:59:40 joerg Exp $

--- log.c.orig	1995-10-19 15:20:22.000000000 +0000
+++ log.c
@@ -59,6 +59,8 @@
 #include "xftp.h"
 #include "str.h"
 
+static void create_save_log_dialog(void);
+
 static Widget w_saveLogDialog;
 
 static char *help_save_diagnostics_log[] = {
@@ -81,8 +83,10 @@ extern Widget w_toplev;
 extern char *initial_logfile_name;
 extern Display *display;
 extern int print_password_in_debug;
+#if !defined(__NetBSD__) && !defined(__DragonFly__)
 extern int sys_nerr;
-#if !defined(__FreeBSD__) && !defined(__MACHTEN_PPC__)
+#endif
+#if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__MACHTEN_PPC__) && !defined(__DragonFly__)
 extern char *sys_errlist[];
 #endif
 
@@ -224,7 +228,7 @@ XtPointer call_data;
 /*
  * create_save_log_dialog - Create the "Save Log" dialog.
  */
-create_save_log_dialog()
+static void create_save_log_dialog(void)
 {
 	static int initialized = False;
     Widget widget;