summaryrefslogtreecommitdiff
path: root/net/llnlxftp/patches/patch-view2.c
blob: 8a860419581423c9276dab4d45236c2e3609cc64 (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
$NetBSD: patch-view2.c,v 1.1 2013/03/02 17:59:41 joerg Exp $

--- view2.c.orig	1995-10-19 15:20:25.000000000 +0000
+++ view2.c
@@ -72,6 +72,8 @@
 #define VINTERVAL    15*1000
 #define PLACEHOLDER  "<>"
 
+static void delete_viewer_dir(int pid);
+
 struct view_dialog {
 	struct view_dialog *next;
 	Widget w_dialog;
@@ -462,8 +464,7 @@ XtPointer call_data;
  *                     exist, or if unable to delete the directory or its
  *                     contents.
  */
-delete_viewer_dir(pid)
-int pid;
+static void delete_viewer_dir(int pid)
 {
 	char *dir = NULL;
 	struct viewdir_link *ptr;
@@ -906,8 +907,7 @@ char *file;
  * mark_viewdir_for_removal - Flag the directory used by the external
  *                            viewer with "pid" as no longer needed.
  */
-mark_viewdir_for_removal(pid)
-int pid;
+void mark_viewdir_for_removal(int pid)
 {
 	struct viewdir_link *ptr = viewdir_head;