summaryrefslogtreecommitdiff
path: root/xfindproxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'xfindproxy.c')
-rw-r--r--xfindproxy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xfindproxy.c b/xfindproxy.c
index 3541cec..5795327 100644
--- a/xfindproxy.c
+++ b/xfindproxy.c
@@ -60,8 +60,6 @@ static int PMversionCount = 1;
static IcePoVersionRec PMversions[] =
{{PM_MAJOR_VERSION, PM_MINOR_VERSION, PMprocessMessages}};
-static XtAppContext appContext;
-
typedef struct {
int status;
char *addr;
@@ -120,6 +118,7 @@ cvthexkey(char *hexstr, char **ptrp) /* turn hex key string into octets */
int
main(int argc, char *argv[])
{
+ static XtAppContext appContext;
IceConn iceConn;
IceProtocolSetupStatus setupstat;
char *vendor = NULL;