summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-09-19 22:04:28 +0000
committerache <ache@FreeBSD.org>1994-09-19 22:04:28 +0000
commitbaa424eb829ac0deee372ba7ef1bc2d77f096702 (patch)
tree8f9cdff9d359e0cc09e7ced84d4c0d1dcf582756 /lib/libc
parenta414f736a7622235c9b72343e0f85bcad9c01e6e (diff)
downloadFreeBSD-src-baa424eb829ac0deee372ba7ef1bc2d77f096702.zip
FreeBSD-src-baa424eb829ac0deee372ba7ef1bc2d77f096702.tar.gz
Function in this module bloodly called 'gethostname' and linked
with all pgms, you can imagine results! Change 'gethostname' -> 'ntp_gettime', I don't know what real name must be here but try to guess.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/ntp_gettime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/ntp_gettime.c b/lib/libc/gen/ntp_gettime.c
index 13331fc..feae846 100644
--- a/lib/libc/gen/ntp_gettime.c
+++ b/lib/libc/gen/ntp_gettime.c
@@ -33,7 +33,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
static const char rcsid[] =
- "$Id$";
+ "$Id: ntp_gettime.c,v 1.1 1994/09/18 20:29:46 wollman Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
@@ -42,7 +42,7 @@ static const char rcsid[] =
#include <sys/timex.h>
int
-gethostname(struct ntptimeval *ntv)
+ntp_gettime(struct ntptimeval *ntv)
{
int mib[3];
struct ntptimeval tv;
OpenPOWER on IntegriCloud