Module Name: src
Committed By: christos
Date: Sun May 15 17:52:41 UTC 2011
Modified Files:
src/external/gpl2/xcvs/dist/src: client.c
Log Message:
Add missing prototype.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl2/xcvs/dist/src/client.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl2/xcvs/dist/src/client.c
diff -u src/external/gpl2/xcvs/dist/src/client.c:1.2 src/external/gpl2/xcvs/dist/src/client.c:1.3
--- src/external/gpl2/xcvs/dist/src/client.c:1.2 Wed Apr 8 12:27:51 2009
+++ src/external/gpl2/xcvs/dist/src/client.c Sun May 15 13:52:41 2011
@@ -68,6 +68,10 @@
int tag (int argc, char **argv);
int update (int argc, char **argv);
+#if defined AUTH_CLIENT_SUPPORT || defined HAVE_KERBEROS || defined HAVE_GSSAPI
+static int connect_to(char *, unsigned int);
+#endif
+
static size_t try_read_from_server (char *, size_t);
static void auth_server (cvsroot_t *, struct buffer *, struct buffer *,
@@ -5151,7 +5155,7 @@
#if defined AUTH_CLIENT_SUPPORT || defined HAVE_KERBEROS || defined HAVE_GSSAPI
-int
+static int
connect_to(char *hostname, unsigned int port)
{
struct addrinfo hints, *res, *res0 = NULL;