Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/ntp/dist/libntp Remove duplicate/old declaratio...



details:   https://anonhg.NetBSD.org/src/rev/fd6ceebfb732
branches:  trunk
changeset: 325615:fd6ceebfb732
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Tue Dec 31 21:37:01 2013 +0000

description:
Remove duplicate/old declaration of 'host' now that we allocate it on stack.

diffstat:

 external/bsd/ntp/dist/libntp/ntp_intres.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 900dda2c934c -r fd6ceebfb732 external/bsd/ntp/dist/libntp/ntp_intres.c
--- a/external/bsd/ntp/dist/libntp/ntp_intres.c Tue Dec 31 20:56:29 2013 +0000
+++ b/external/bsd/ntp/dist/libntp/ntp_intres.c Tue Dec 31 21:37:01 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ntp_intres.c,v 1.2 2013/12/31 20:56:29 christos Exp $  */
+/*     $NetBSD: ntp_intres.c,v 1.3 2013/12/31 21:37:01 pgoyette Exp $  */
 
 /*
  * ntp_intres.c - Implements a generic blocking worker child or thread,
@@ -686,7 +686,6 @@
        blocking_gni_resp *     gni_resp;
        size_t                  octets;
        size_t                  resp_octets;
-       char *                  host;
        char *                  service;
        char *                  cp;
        int                     rc;



Home | Main Index | Thread Index | Old Index