From f9928fafaead5b9a0afa5dcd22c86f1eb2a868ee Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Thu, 6 Feb 2003 01:01:27 +0000 Subject: [PATCH] Move net_service_lookup() to macnet.c, since that's where it belongs. [originally from svn r2806] --- mac/macnet.c | 8 ++++++++ mac/mtcpnet.c | 7 ------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/mac/macnet.c b/mac/macnet.c index b95a1b78..eb705e1a 100644 --- a/mac/macnet.c +++ b/mac/macnet.c @@ -166,6 +166,14 @@ void sk_cleanup(void) stack->cleanup(); } +/* We should use Internet Config here. */ +int net_service_lookup(char *service) +{ + + return 0; +} + + /* * Local Variables: * c-file-style: "simon" diff --git a/mac/mtcpnet.c b/mac/mtcpnet.c index 8f62f09c..754ce18d 100644 --- a/mac/mtcpnet.c +++ b/mac/mtcpnet.c @@ -831,13 +831,6 @@ OSErr CloseResolver(void) return noErr; } -/* MacTCP doesn't have a services database. */ -int net_service_lookup(char *service) -{ - - return 0; -} - #endif /*