Fixed binary search: no more infinite loops when vendor is unknown.
[tangerine.git] / workbench / network / stacks / AROSTCP / netlib / dummy.c
blobcdf1505b2693fe71df978e36c3eb3b2b401ef288
1 /* $Id$
3 * dummy.c - unimplemented netdb functions
5 * Copyright © 1994 AmiTCP/IP Group,
6 * Network Solutions Development Inc.
7 * All rights reserved.
8 * Copyright © 2005 Pavel Fedin
9 */
11 #include <sys/types.h>
12 #include <netdb.h>
13 #if !__SASC
14 #define NULL ((void *) 0)
15 #endif
16 struct netent *getnetent(void)
17 { return NULL; }
18 void endnetent(void)
20 struct servent *getservent(void)
21 { return NULL; }
22 void endservent(void)