diff options
author | Phil Blundell <philb@gnu.org> | 1998-11-19 13:01:47 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 1998-11-19 13:01:47 +0000 |
commit | e1396f44190dc777c456684b975728c374e3bb7b (patch) | |
tree | 0238e299e44f5c3f13fbc6c617afdb40251f0251 | |
parent | 2a022628ccea53b64d4d1740924aee4e5d341790 (diff) | |
download | net-tools-e1396f44190dc777c456684b975728c374e3bb7b.tar.gz net-tools-e1396f44190dc777c456684b975728c374e3bb7b.tar.bz2 net-tools-e1396f44190dc777c456684b975728c374e3bb7b.zip |
Include util.h where needed
-rw-r--r-- | ifconfig.c | 3 | ||||
-rw-r--r-- | lib/af.c | 4 | ||||
-rw-r--r-- | lib/arcnet.c | 3 | ||||
-rw-r--r-- | lib/ax25.c | 3 | ||||
-rw-r--r-- | lib/ddp.c | 3 | ||||
-rw-r--r-- | lib/ether.c | 3 | ||||
-rw-r--r-- | lib/getroute.c | 3 | ||||
-rw-r--r-- | lib/inet.c | 3 | ||||
-rw-r--r-- | lib/inet_sr.c | 1 | ||||
-rw-r--r-- | lib/ipx.c | 1 | ||||
-rw-r--r-- | lib/loopback.c | 3 | ||||
-rw-r--r-- | lib/netrom.c | 3 | ||||
-rw-r--r-- | lib/unix.c | 3 |
13 files changed, 24 insertions, 12 deletions
@@ -3,7 +3,7 @@ * that either displays or sets the characteristics of * one or more of the system's networking interfaces. * - * Version: $Id: ifconfig.c,v 1.21 1998/11/19 06:36:57 freitag Exp $ + * Version: $Id: ifconfig.c,v 1.22 1998/11/19 13:01:47 philip Exp $ * * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> * and others. Copyright 1993 MicroWalt Corporation @@ -105,6 +105,7 @@ static const char *if_port_text[][4] = #include "../intl.h" #include "interface.h" #include "sockets.h" +#include "util.h" char *Release = RELEASE, *Version = "ifconfig 1.36 (1998-10-31)"; @@ -2,7 +2,7 @@ * lib/af.c This file contains the top-level part of the protocol * support functions module for the NET-2 base distribution. * - * Version: $Id: af.c,v 1.7 1998/11/17 15:16:26 freitag Exp $ + * Version: $Id: af.c,v 1.8 1998/11/19 13:01:52 philip Exp $ * * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> * Copyright 1993 MicroWalt Corporation @@ -25,7 +25,7 @@ #include "net-support.h" #include "pathnames.h" #include "intl.h" - +#include "util.h" int flag_unx = 0; int flag_ipx = 0; diff --git a/lib/arcnet.c b/lib/arcnet.c index bb4ddce..7f1abda 100644 --- a/lib/arcnet.c +++ b/lib/arcnet.c @@ -2,7 +2,7 @@ * lib/arcnet.c This file contains an implementation of the "ARCnet" * support functions for the NET-2 base distribution. * - * Version: $Id: arcnet.c,v 1.4 1998/11/17 15:16:29 freitag Exp $ + * Version: $Id: arcnet.c,v 1.5 1998/11/19 13:01:53 philip Exp $ * * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> * Copyright 1993 MicroWalt Corporation @@ -29,6 +29,7 @@ #include "net-support.h" #include "pathnames.h" #include "intl.h" +#include "util.h" extern struct hwtype arcnet_hwtype; @@ -2,7 +2,7 @@ * lib/ax25.c This file contains an implementation of the "AX.25" * support functions. * - * Version: $Id: ax25.c,v 1.7 1998/11/17 15:16:32 freitag Exp $ + * Version: $Id: ax25.c,v 1.8 1998/11/19 13:01:54 philip Exp $ * * NOTE: I will redo this module as soon as I got the libax25.a * library sorted out. This library contains some useful @@ -41,6 +41,7 @@ #include "net-support.h" #include "pathnames.h" #include "intl.h" +#include "util.h" static char AX25_errmsg[128]; @@ -4,7 +4,7 @@ * * Alan Cox <Alan.Cox@linux.org> * - * $Id: ddp.c,v 1.5 1998/11/17 15:16:35 freitag Exp $ + * $Id: ddp.c,v 1.6 1998/11/19 13:01:55 philip Exp $ * * This program is free software; you can redistribute it * and/or modify it under the terms of the GNU General @@ -29,6 +29,7 @@ #include "net-support.h" #include "pathnames.h" #include "intl.h" +#include "util.h" /* Display a ddp domain address. */ static char *ddp_print(unsigned char *ptr) diff --git a/lib/ether.c b/lib/ether.c index 276dd6a..997aef2 100644 --- a/lib/ether.c +++ b/lib/ether.c @@ -2,7 +2,7 @@ * lib/ether.c This file contains an implementation of the "Ethernet" * support functions. * - * Version: $Id: ether.c,v 1.5 1998/11/17 15:16:37 freitag Exp $ + * Version: $Id: ether.c,v 1.6 1998/11/19 13:01:56 philip Exp $ * * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> * Copyright 1993 MicroWalt Corporation @@ -29,6 +29,7 @@ #include "net-support.h" #include "pathnames.h" #include "intl.h" +#include "util.h" extern struct hwtype ether_hwtype; diff --git a/lib/getroute.c b/lib/getroute.c index fe93216..6af30ee 100644 --- a/lib/getroute.c +++ b/lib/getroute.c @@ -7,7 +7,7 @@ * NET-3 Networking Distribution for the LINUX operating * system. (net-tools, net-drivers) * - * Version: $Id: getroute.c,v 1.4 1998/11/17 15:16:42 freitag Exp $ + * Version: $Id: getroute.c,v 1.5 1998/11/19 13:01:57 philip Exp $ * * Author: Bernd 'eckes' Eckenfels <net-tools@lina.inka.de> * Copyright 1999 Bernd Eckenfels, Germany @@ -36,6 +36,7 @@ #include "version.h" #include "config.h" #include "intl.h" +#include "util.h" extern struct aftype unspec_aftype; extern struct aftype unix_aftype; @@ -3,7 +3,7 @@ * support functions for the net-tools. * (NET-3 base distribution). * - * Version: $Id: inet.c,v 1.6 1998/11/17 15:16:47 freitag Exp $ + * Version: $Id: inet.c,v 1.7 1998/11/19 13:01:58 philip Exp $ * * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> * Copyright 1993 MicroWalt Corporation @@ -42,6 +42,7 @@ #include "net-support.h" #include "pathnames.h" #include "intl.h" +#include "util.h" extern int h_errno; /* some netdb.h versions don't export this */ diff --git a/lib/inet_sr.c b/lib/inet_sr.c index fea1425..4fb73b5 100644 --- a/lib/inet_sr.c +++ b/lib/inet_sr.c @@ -28,6 +28,7 @@ #include "pathnames.h" #include "intl.h" #include "net-features.h" +#include "util.h" #if HAVE_NEW_ADDRT #define mask_in_addr(x) (((struct sockaddr_in *)&((x).rt_genmask))->sin_addr.s_addr) @@ -35,6 +35,7 @@ #include "net-support.h" #include "pathnames.h" #include "intl.h" +#include "util.h" #if (IPX_NODE_LEN != 6) #error "IPX_NODE_LEN != 6" diff --git a/lib/loopback.c b/lib/loopback.c index 3395e28..ccf6a19 100644 --- a/lib/loopback.c +++ b/lib/loopback.c @@ -1,7 +1,7 @@ /* * lib/loopback.c This file contains the general hardware types. * - * Version: $Id: loopback.c,v 1.4 1998/11/17 15:16:54 freitag Exp $ + * Version: $Id: loopback.c,v 1.5 1998/11/19 13:02:02 philip Exp $ * * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> * Copyright 1993 MicroWalt Corporation @@ -29,6 +29,7 @@ #include "net-support.h" #include "pathnames.h" #include "intl.h" +#include "util.h" /* Display an UNSPEC address. */ static char *pr_unspec(unsigned char *ptr) diff --git a/lib/netrom.c b/lib/netrom.c index c69723e..4f86b10 100644 --- a/lib/netrom.c +++ b/lib/netrom.c @@ -2,7 +2,7 @@ * lib/netrom.c This file contains an implementation of the "NET/ROM" * support functions for the NET-2 base distribution. * - * Version: $Id: netrom.c,v 1.6 1998/11/17 15:16:56 freitag Exp $ + * Version: $Id: netrom.c,v 1.7 1998/11/19 13:02:03 philip Exp $ * * NOTE: I will redo this module as soon as I got the libax25.a * library sorted out. This library contains some useful @@ -46,6 +46,7 @@ #include "net-support.h" #include "pathnames.h" #include "intl.h" +#include "util.h" static char netrom_errmsg[128]; @@ -1,7 +1,7 @@ /* * lib/unix.c This file contains the general hardware types. * - * Version: $Id: unix.c,v 1.5 1998/11/17 15:16:58 freitag Exp $ + * Version: $Id: unix.c,v 1.6 1998/11/19 13:02:04 philip Exp $ * * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> * Copyright 1993 MicroWalt Corporation @@ -28,6 +28,7 @@ #include "net-support.h" #include "pathnames.h" #include "intl.h" +#include "util.h" /* Display an UNSPEC address. */ |