Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl2/xcvs/dist/src Add missing prototype.
details: https://anonhg.NetBSD.org/src/rev/302a0a9d1fb4
branches: trunk
changeset: 765002:302a0a9d1fb4
user: christos <christos%NetBSD.org@localhost>
date: Sun May 15 17:52:41 2011 +0000
description:
Add missing prototype.
diffstat:
external/gpl2/xcvs/dist/src/client.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 7418c3dcba6f -r 302a0a9d1fb4 external/gpl2/xcvs/dist/src/client.c
--- a/external/gpl2/xcvs/dist/src/client.c Sun May 15 17:27:49 2011 +0000
+++ b/external/gpl2/xcvs/dist/src/client.c Sun May 15 17:52:41 2011 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index