blob: f7c4f3727f396b40367300be10878516ebf4ab06 (
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
|
$NetBSD: patch-misc.c,v 1.1 2013/03/02 17:59:41 joerg Exp $
--- misc.c.orig 1995-10-19 15:20:23.000000000 +0000
+++ misc.c
@@ -67,6 +67,8 @@
#define MAXTRIES 10
+void disconnect(int host);
+
struct {
unsigned char *data;
int width;
@@ -137,8 +139,7 @@ XtPointer call_data;
* disconnect - Disconnects "host". The indicated host can be either locally
* or remotely connected.
*/
-disconnect(host)
-int host;
+void disconnect(int host)
{
switch (hinfo[host].type) {
case NEITHER:
@@ -362,7 +363,7 @@ char *file_path;
* try to create either a 50x50 icon or a 64x64 icon, depending
* on what size the window manager prefers.
*/
-create_icon()
+void create_icon(void)
{
XIconSize *list;
int count;
|