1 /* 2 * Copyright (c) 1985 Regents of the University of California. 3 * All rights reserved. The Berkeley software License Agreement 4 * specifies the terms and conditions for redistribution. 5 */ 6 7 #ifndef lint 8 static char sccsid[] = "@(#)sethostent.c 6.1 (Berkeley) 10/31/85"; 9 #endif not lint 10 11 /* 12 * These are dummy routines to allow old programs that used /etc/hosts 13 * to compile and work with the BIND name server 14 */ 15 16 sethostent(stayopen) 17 { 18 #ifdef lint 19 stayopen = stayopen; 20 #endif 21 } 22 23 endhostent() {} 24 25 sethostfile(name) 26 char *name; 27 { 28 #ifdef lint 29 name = name; 30 #endif 31 } 32