From 01ceb6d79979ea8aedd174c47ed8c65fbf168c43 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 26 Feb 2008 09:43:18 +0000 Subject: declared some things in imtcp.c static so that they don't conflict if loaded as imtcp and imgssapi --- plugins/imtcp/imtcp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins') diff --git a/plugins/imtcp/imtcp.c b/plugins/imtcp/imtcp.c index c3f5e138..84bb61a2 100644 --- a/plugins/imtcp/imtcp.c +++ b/plugins/imtcp/imtcp.c @@ -97,14 +97,14 @@ struct TCPSession { }; static int iTCPSessMax = TCPSESS_MAX_DEFAULT; /* actual number of sessions */ -char *TCPLstnPort = "0"; /* read-only after startup */ -int bEnableTCP = 0; /* read-only after startup */ -int *sockTCPLstn = NULL; /* read-only after startup, modified by restart */ -struct TCPSession *pTCPSessions; +static char *TCPLstnPort = "0"; /* read-only after startup */ +static int bEnableTCP = 0; /* read-only after startup */ +static int *sockTCPLstn = NULL; /* read-only after startup, modified by restart */ +static struct TCPSession *pTCPSessions; /* The thread-safeness of the sesion table is doubtful */ #ifdef USE_GSSAPI static gss_cred_id_t gss_server_creds = GSS_C_NO_CREDENTIAL; -char *gss_listen_service_name = NULL; +static char *gss_listen_service_name = NULL; #endif /* config settings */ -- cgit