34 lines
961 B
Text
34 lines
961 B
Text
$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;
|