From cdb71011ef6b0a9dc2cb55ed90dc4ee230bdda08 Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Wed, 20 Sep 2000 00:01:50 +0000 Subject: [PATCH] Move inet_aton to libomapi --- common/Makefile.dist | 4 ++-- omapip/Makefile.dist | 4 ++-- {common => omapip}/inet_addr.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) rename {common => omapip}/inet_addr.c (97%) diff --git a/common/Makefile.dist b/common/Makefile.dist index c3f287eb..83576521 100644 --- a/common/Makefile.dist +++ b/common/Makefile.dist @@ -22,11 +22,11 @@ SEDMANPAGES = dhcp-options.man5 dhcp-contrib.man5 dhcp-eval.man5 SRC = raw.c parse.c nit.c icmp.c dispatch.c conflex.c upf.c bpf.c socket.c \ lpf.c dlpi.c packet.c tr.c ethernet.c memory.c print.c options.c \ inet.c tree.c tables.c alloc.c fddi.c \ - inet_addr.c dns.c resolv.c execute.c discover.c comapi.c + dns.c resolv.c execute.c discover.c comapi.c OBJ = raw.o parse.o nit.o icmp.o dispatch.o conflex.o upf.o bpf.o socket.o \ lpf.o dlpi.o packet.o tr.o ethernet.o memory.o print.o options.o \ inet.o tree.o tables.o alloc.o fddi.o \ - inet_addr.o dns.o resolv.o execute.o discover.o comapi.o + dns.o resolv.o execute.o discover.o comapi.o MAN = dhcp-options.5 dhcp-contrib.5 dhcp-eval.5 DEBUG = -g diff --git a/omapip/Makefile.dist b/omapip/Makefile.dist index b479107b..98ccbbe2 100644 --- a/omapip/Makefile.dist +++ b/omapip/Makefile.dist @@ -21,10 +21,10 @@ CATMANPAGES = omapi.cat3 SEDMANPAGES = omapi.man3 SRC = protocol.c buffer.c alloc.c result.c connection.c errwarn.c \ listener.c dispatch.c generic.c support.c handle.c message.c \ - convert.c hash.c auth.c + convert.c hash.c auth.c inet_addr.c OBJ = protocol.o buffer.o alloc.o result.o connection.o errwarn.o \ listener.o dispatch.o generic.o support.o handle.o message.o \ - convert.o hash.o auth.o + convert.o hash.o auth.o inet_addr.o MAN = omapi.3 DEBUG = -g diff --git a/common/inet_addr.c b/omapip/inet_addr.c similarity index 97% rename from common/inet_addr.c rename to omapip/inet_addr.c index 98267b79..0e7967cd 100644 --- a/common/inet_addr.c +++ b/omapip/inet_addr.c @@ -43,10 +43,10 @@ static char rcsid[] = "$NetBSD: inet_addr.c,v 1.6 1996/02/02 15:22:23 mrg Exp $" #ifndef lint static char copyright[] = -"$Id: inet_addr.c,v 1.3 1999/03/16 06:37:49 mellon Exp $ Copyright (c) 1983, 1990, 1993 The Regents of the University of California. All rights reserved.\n"; +"$Id: inet_addr.c,v 1.1 2000/09/20 00:01:50 mellon Exp $ Copyright (c) 1983, 1990, 1993 The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ -#include "dhcpd.h" +#include "omapip/omapip_p.h" #ifdef NEED_INET_ATON /*