Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys Don't need <sys/types.h> or <sys/time.h> before...



details:   https://anonhg.NetBSD.org/src/rev/cbacb148b107
branches:  trunk
changeset: 514393:cbacb148b107
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sat Sep 01 02:01:48 2001 +0000

description:
Don't need <sys/types.h> or <sys/time.h> before <sys/resource.h>.
References: SUSv2

diffstat:

 lib/libc/sys/getpriority.2 |  3 +--
 lib/libc/sys/getrlimit.2   |  4 +---
 lib/libc/sys/getrusage.2   |  3 +--
 lib/libc/sys/wait.2        |  3 +--
 4 files changed, 4 insertions(+), 9 deletions(-)

diffs (69 lines):

diff -r 9f7c0d052dcb -r cbacb148b107 lib/libc/sys/getpriority.2
--- a/lib/libc/sys/getpriority.2        Sat Sep 01 01:59:42 2001 +0000
+++ b/lib/libc/sys/getpriority.2        Sat Sep 01 02:01:48 2001 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getpriority.2,v 1.8 1999/12/02 21:42:37 kleink Exp $
+.\"    $NetBSD: getpriority.2,v 1.9 2001/09/01 02:01:48 simonb Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -43,7 +43,6 @@
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
-.Fd #include <sys/time.h>
 .Fd #include <sys/resource.h>
 .Ft int
 .Fn getpriority "int which" "int who"
diff -r 9f7c0d052dcb -r cbacb148b107 lib/libc/sys/getrlimit.2
--- a/lib/libc/sys/getrlimit.2  Sat Sep 01 01:59:42 2001 +0000
+++ b/lib/libc/sys/getrlimit.2  Sat Sep 01 02:01:48 2001 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getrlimit.2,v 1.15 1999/12/02 21:42:37 kleink Exp $
+.\"    $NetBSD: getrlimit.2,v 1.16 2001/09/01 02:01:48 simonb Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -43,8 +43,6 @@
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/time.h>
 .Fd #include <sys/resource.h>
 .Ft int
 .Fn getrlimit "int resource" "struct rlimit *rlp"
diff -r 9f7c0d052dcb -r cbacb148b107 lib/libc/sys/getrusage.2
--- a/lib/libc/sys/getrusage.2  Sat Sep 01 01:59:42 2001 +0000
+++ b/lib/libc/sys/getrusage.2  Sat Sep 01 02:01:48 2001 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getrusage.2,v 1.8 1999/12/02 21:42:37 kleink Exp $
+.\"    $NetBSD: getrusage.2,v 1.9 2001/09/01 02:01:48 simonb Exp $
 .\"
 .\" Copyright (c) 1985, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -42,7 +42,6 @@
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
-.Fd #include <sys/time.h>
 .Fd #include <sys/resource.h>
 .Fd #define    RUSAGE_SELF      0
 .Fd #define    RUSAGE_CHILDREN -1
diff -r 9f7c0d052dcb -r cbacb148b107 lib/libc/sys/wait.2
--- a/lib/libc/sys/wait.2       Sat Sep 01 01:59:42 2001 +0000
+++ b/lib/libc/sys/wait.2       Sat Sep 01 02:01:48 2001 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: wait.2,v 1.13 2001/07/18 19:12:21 thorpej Exp $
+.\"    $NetBSD: wait.2,v 1.14 2001/09/01 02:01:48 simonb Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -51,7 +51,6 @@
 .Fn wait "int *status"
 .Ft pid_t
 .Fn waitpid "pid_t wpid" "int *status" "int options"
-.Fd #include <sys/time.h>
 .Fd #include <sys/resource.h>
 .Ft pid_t
 .Fn wait3 "int *status" "int options" "struct rusage *rusage"



Home | Main Index | Thread Index | Old Index