summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-26 09:43:18 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-26 09:43:18 +0000
commit01ceb6d79979ea8aedd174c47ed8c65fbf168c43 (patch)
tree09b41cf25087fb2ce65f197eb8d93e1517c02fca
parentf22d142a538deaec341317464626c4dece41be7a (diff)
downloadrsyslog-01ceb6d79979ea8aedd174c47ed8c65fbf168c43.tar.gz
rsyslog-01ceb6d79979ea8aedd174c47ed8c65fbf168c43.tar.xz
rsyslog-01ceb6d79979ea8aedd174c47ed8c65fbf168c43.zip
declared some things in imtcp.c static so that they don't conflict if
loaded as imtcp and imgssapi
-rw-r--r--plugins/imtcp/imtcp.c10
1 files changed, 5 insertions, 5 deletions
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 */