Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/compat/ndis/Attic/nbcompat.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/compat/ndis/Attic/nbcompat.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- src/sys/compat/ndis/Attic/nbcompat.c 2006/03/31 02:43:18 1.1 +++ src/sys/compat/ndis/Attic/nbcompat.c 2006/06/13 03:58:12 1.2 @@ -71,16 +71,6 @@ int device_is_attached(dev) return TRUE; } -int tvtohz(struct timeval *tv) -{ - struct timeval curr_time; - - microtime(&curr_time); - curr_time.tv_sec += tv->tv_sec; - curr_time.tv_usec += tv->tv_usec; - return hzto(&curr_time); -} - /* I took this from sys/kern/kern_kthread.c (in the NetBSD source tree). * The only difference is the kernel stack size */