Commit | Line | Data |
---|---|---|
a300ef85 JB |
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 | ||
2ce81398 DS |
7 | #if defined(LIBC_SCCS) && !defined(lint) |
8 | static char sccsid[] = "@(#)sethostent.c 6.2 (Berkeley) %G%"; | |
9 | #endif LIBC_SCCS and not lint | |
a300ef85 JB |
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 | ||
158ad942 JB |
16 | sethostent(stayopen) |
17 | { | |
18 | #ifdef lint | |
19 | stayopen = stayopen; | |
20 | #endif | |
21 | } | |
a300ef85 JB |
22 | |
23 | endhostent() {} | |
158ad942 JB |
24 | |
25 | sethostfile(name) | |
26 | char *name; | |
27 | { | |
28 | #ifdef lint | |
29 | name = name; | |
30 | #endif | |
31 | } |