Merge in Lite2: use fixed-width types.
Reviewed by: davidg & bde
This commit is contained in:
parent
1061e94f8b
commit
5664af0189
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14485
@ -30,8 +30,8 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)resource.h 8.2 (Berkeley) 1/4/94
|
||||
* $Id: resource.h,v 1.2 1994/08/02 07:53:28 davidg Exp $
|
||||
* @(#)resource.h 8.4 (Berkeley) 1/9/95
|
||||
* $Id: resource.h,v 1.4 1996/02/24 06:49:45 hsu Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_RESOURCE_H_
|
||||
@ -95,8 +95,8 @@ struct rusage {
|
||||
#define RLIM_INFINITY (((u_quad_t)1 << 63) - 1)
|
||||
|
||||
struct orlimit {
|
||||
long rlim_cur; /* current (soft) limit */
|
||||
long rlim_max; /* maximum value for rlim_cur */
|
||||
int32_t rlim_cur; /* current (soft) limit */
|
||||
int32_t rlim_max; /* maximum value for rlim_cur */
|
||||
};
|
||||
|
||||
struct rlimit {
|
||||
@ -106,8 +106,8 @@ struct rlimit {
|
||||
|
||||
/* Load average structure. */
|
||||
struct loadavg {
|
||||
fixpt_t ldavg[3];
|
||||
long fscale;
|
||||
fixpt_t ldavg[3];
|
||||
long fscale;
|
||||
};
|
||||
|
||||
#ifdef KERNEL
|
||||
|
Loading…
Reference in New Issue
Block a user