summaryrefslogtreecommitdiff
path: root/src/connect.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-04-05 14:43:05 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-04-05 14:43:05 -0700
commit27f9a9324d58c9a7472c724c62f5b7ea0e1f4681 (patch)
tree93a5ce4d0ddaf9c13e3b6b2f0c32246aab238f43 /src/connect.c
parentbb639803a779ceace05d183b653da88f010ab29c (diff)
Provide ANSI C prototypes for more static functions
Diffstat (limited to 'src/connect.c')
-rw-r--r--src/connect.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/connect.c b/src/connect.c
index e06aa04..933c186 100644
--- a/src/connect.c
+++ b/src/connect.c
@@ -36,7 +36,8 @@ Author: Ralph Mor, X Consortium
#include <X11/Xtrans/Xtrans.h>
#include "globals.h"
-static XtransConnInfo ConnectToPeer();
+static XtransConnInfo ConnectToPeer(char *networkIdsList,
+ char **actualConnectionRet);
#define Strstr strstr
@@ -449,11 +450,7 @@ IceConn iceConn;
static XtransConnInfo
-ConnectToPeer (networkIdsList, actualConnectionRet)
-
-char *networkIdsList;
-char **actualConnectionRet;
-
+ConnectToPeer (char *networkIdsList, char **actualConnectionRet)
{
char addrbuf[256];
char* address;