-/* $OpenBSD: clock.c,v 1.4 1996/10/16 13:49:59 mickey Exp $ */
+/* $OpenBSD: clock.c,v 1.5 1997/01/29 07:58:35 deraadt Exp $ */
/*
* Copyright (c) 1992, 1993
* Set up the system's time, given a `reasonable' time value.
*/
u_long
-time()
+ttime()
{
register struct clockreg *cl = clockreg;
int sec, min, hour, day, mon, year;
-/* $OpenBSD: etherfun.c,v 1.3 1996/10/16 13:50:00 mickey Exp $ */
+/* $OpenBSD: etherfun.c,v 1.4 1997/01/29 07:58:37 deraadt Exp $ */
/*
*
if (mesgtype == 0) {
tot = tftp_r + (sizeof(MSG) - 1);
- myport = (u_short) time();
+ myport = (u_short) ttime();
if (myport < 1000)
myport += 1000;
servport = FTP_PORT; /* to start */
-/* $OpenBSD: if_le.c,v 1.4 1996/10/16 13:50:01 mickey Exp $ */
+/* $OpenBSD: if_le.c,v 1.5 1997/01/29 07:58:38 deraadt Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
{
int cc;
int now, then;
- int stopat = time() + timeout;
+ int stopat = ttime() + timeout;
then = 0;
cc = 0;
- while ((now = time()) < stopat && !cc) {
+ while ((now = ttime()) < stopat && !cc) {
cc = le_poll(pkt, len);
if (then != now) {
#ifdef LE_DEBUG
-/* $OpenBSD: sboot.h,v 1.4 1996/10/16 13:50:02 mickey Exp $ */
+/* $OpenBSD: sboot.h,v 1.5 1997/01/29 07:58:39 deraadt Exp $ */
/*
* Copyright (c) 1995 Charles D. Cranor and Seth Widoff
void tftp_file __P((char *, u_long));
/* clock */
-u_long time __P((void));
+u_long ttime __P((void));
/* checksum */
u_long oc_cksum __P((void *, u_long, u_long));