Commit e1396f44 authored by Phil Blundell's avatar Phil Blundell

Include util.h where needed

parent 2a022628
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* that either displays or sets the characteristics of * that either displays or sets the characteristics of
* one or more of the system's networking interfaces. * 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> * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* and others. Copyright 1993 MicroWalt Corporation * and others. Copyright 1993 MicroWalt Corporation
...@@ -105,6 +105,7 @@ static const char *if_port_text[][4] = ...@@ -105,6 +105,7 @@ static const char *if_port_text[][4] =
#include "../intl.h" #include "../intl.h"
#include "interface.h" #include "interface.h"
#include "sockets.h" #include "sockets.h"
#include "util.h"
char *Release = RELEASE, *Version = "ifconfig 1.36 (1998-10-31)"; char *Release = RELEASE, *Version = "ifconfig 1.36 (1998-10-31)";
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* lib/af.c This file contains the top-level part of the protocol * lib/af.c This file contains the top-level part of the protocol
* support functions module for the NET-2 base distribution. * 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> * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* Copyright 1993 MicroWalt Corporation * Copyright 1993 MicroWalt Corporation
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include "net-support.h" #include "net-support.h"
#include "pathnames.h" #include "pathnames.h"
#include "intl.h" #include "intl.h"
#include "util.h"
int flag_unx = 0; int flag_unx = 0;
int flag_ipx = 0; int flag_ipx = 0;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* lib/arcnet.c This file contains an implementation of the "ARCnet" * lib/arcnet.c This file contains an implementation of the "ARCnet"
* support functions for the NET-2 base distribution. * 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> * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* Copyright 1993 MicroWalt Corporation * Copyright 1993 MicroWalt Corporation
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include "net-support.h" #include "net-support.h"
#include "pathnames.h" #include "pathnames.h"
#include "intl.h" #include "intl.h"
#include "util.h"
extern struct hwtype arcnet_hwtype; extern struct hwtype arcnet_hwtype;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* lib/ax25.c This file contains an implementation of the "AX.25" * lib/ax25.c This file contains an implementation of the "AX.25"
* support functions. * 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 * NOTE: I will redo this module as soon as I got the libax25.a
* library sorted out. This library contains some useful * library sorted out. This library contains some useful
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
#include "net-support.h" #include "net-support.h"
#include "pathnames.h" #include "pathnames.h"
#include "intl.h" #include "intl.h"
#include "util.h"
static char AX25_errmsg[128]; static char AX25_errmsg[128];
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* *
* Alan Cox <Alan.Cox@linux.org> * 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 * This program is free software; you can redistribute it
* and/or modify it under the terms of the GNU General * and/or modify it under the terms of the GNU General
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include "net-support.h" #include "net-support.h"
#include "pathnames.h" #include "pathnames.h"
#include "intl.h" #include "intl.h"
#include "util.h"
/* Display a ddp domain address. */ /* Display a ddp domain address. */
static char *ddp_print(unsigned char *ptr) static char *ddp_print(unsigned char *ptr)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* lib/ether.c This file contains an implementation of the "Ethernet" * lib/ether.c This file contains an implementation of the "Ethernet"
* support functions. * 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> * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* Copyright 1993 MicroWalt Corporation * Copyright 1993 MicroWalt Corporation
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include "net-support.h" #include "net-support.h"
#include "pathnames.h" #include "pathnames.h"
#include "intl.h" #include "intl.h"
#include "util.h"
extern struct hwtype ether_hwtype; extern struct hwtype ether_hwtype;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* NET-3 Networking Distribution for the LINUX operating * NET-3 Networking Distribution for the LINUX operating
* system. (net-tools, net-drivers) * 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> * Author: Bernd 'eckes' Eckenfels <net-tools@lina.inka.de>
* Copyright 1999 Bernd Eckenfels, Germany * Copyright 1999 Bernd Eckenfels, Germany
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
#include "version.h" #include "version.h"
#include "config.h" #include "config.h"
#include "intl.h" #include "intl.h"
#include "util.h"
extern struct aftype unspec_aftype; extern struct aftype unspec_aftype;
extern struct aftype unix_aftype; extern struct aftype unix_aftype;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* support functions for the net-tools. * support functions for the net-tools.
* (NET-3 base distribution). * (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> * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* Copyright 1993 MicroWalt Corporation * Copyright 1993 MicroWalt Corporation
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
#include "net-support.h" #include "net-support.h"
#include "pathnames.h" #include "pathnames.h"
#include "intl.h" #include "intl.h"
#include "util.h"
extern int h_errno; /* some netdb.h versions don't export this */ extern int h_errno; /* some netdb.h versions don't export this */
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include "pathnames.h" #include "pathnames.h"
#include "intl.h" #include "intl.h"
#include "net-features.h" #include "net-features.h"
#include "util.h"
#if HAVE_NEW_ADDRT #if HAVE_NEW_ADDRT
#define mask_in_addr(x) (((struct sockaddr_in *)&((x).rt_genmask))->sin_addr.s_addr) #define mask_in_addr(x) (((struct sockaddr_in *)&((x).rt_genmask))->sin_addr.s_addr)
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
#include "net-support.h" #include "net-support.h"
#include "pathnames.h" #include "pathnames.h"
#include "intl.h" #include "intl.h"
#include "util.h"
#if (IPX_NODE_LEN != 6) #if (IPX_NODE_LEN != 6)
#error "IPX_NODE_LEN != 6" #error "IPX_NODE_LEN != 6"
......
/* /*
* lib/loopback.c This file contains the general hardware types. * 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> * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* Copyright 1993 MicroWalt Corporation * Copyright 1993 MicroWalt Corporation
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include "net-support.h" #include "net-support.h"
#include "pathnames.h" #include "pathnames.h"
#include "intl.h" #include "intl.h"
#include "util.h"
/* Display an UNSPEC address. */ /* Display an UNSPEC address. */
static char *pr_unspec(unsigned char *ptr) static char *pr_unspec(unsigned char *ptr)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* lib/netrom.c This file contains an implementation of the "NET/ROM" * lib/netrom.c This file contains an implementation of the "NET/ROM"
* support functions for the NET-2 base distribution. * 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 * NOTE: I will redo this module as soon as I got the libax25.a
* library sorted out. This library contains some useful * library sorted out. This library contains some useful
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
#include "net-support.h" #include "net-support.h"
#include "pathnames.h" #include "pathnames.h"
#include "intl.h" #include "intl.h"
#include "util.h"
static char netrom_errmsg[128]; static char netrom_errmsg[128];
......
/* /*
* lib/unix.c This file contains the general hardware types. * 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> * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* Copyright 1993 MicroWalt Corporation * Copyright 1993 MicroWalt Corporation
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include "net-support.h" #include "net-support.h"
#include "pathnames.h" #include "pathnames.h"
#include "intl.h" #include "intl.h"
#include "util.h"
/* Display an UNSPEC address. */ /* Display an UNSPEC address. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment