--- Net2/sys/time.h 2018/04/24 18:03:58 1.1.1.1 +++ Net2/sys/time.h 2018/04/24 18:16:13 1.1.1.2 @@ -30,7 +30,8 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)time.h 7.6 (Berkeley) 2/22/91 + * from: @(#)time.h 7.6 (Berkeley) 2/22/91 + * time.h,v 1.3 1993/06/27 05:59:09 andrew Exp */ #ifndef _SYS_TIME_H_ @@ -81,7 +82,13 @@ struct itimerval { struct timeval it_value; /* current value */ }; -#ifndef KERNEL +#ifdef KERNEL +int itimerfix __P((struct timeval *tv)); +int itimerdecr __P((struct itimerval *itp, int usec)); +void timevaladd __P((struct timeval *t1, struct timeval *t2)); +void timevalsub __P((struct timeval *t1, struct timeval *t2)); +void timevalfix __P((struct timeval *t1)); +#else #include #ifndef _POSIX_SOURCE