Skip to content

Commit

Permalink
Move typedef for rlim_t into sys/types.h (as per NetBSD).
Browse files Browse the repository at this point in the history
  • Loading branch information
David Nugent authored and David Nugent committed Jan 5, 1997
1 parent 01754f1 commit 7431589
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 1 addition & 7 deletions include/login_cap.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*
* Low-level routines relating to the user capabilities database
*
* $Id$
* $Id: login_cap.h,v 1.1 1997/01/04 16:43:58 davidn Exp $
*/

#ifndef _LOGIN_CAP_H_
Expand Down Expand Up @@ -82,12 +82,6 @@ typedef struct login_time {
} login_time_t;
#define LC_MAXTIMES 64

#ifdef RLIM_LONG
typedef long rlim_t;
#else
typedef quad_t rlim_t;
#endif

#include <sys/cdefs.h>
__BEGIN_DECLS
struct passwd;
Expand Down
4 changes: 3 additions & 1 deletion sys/sys/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)types.h 8.6 (Berkeley) 2/19/95
* $Id: types.h,v 1.10 1996/04/30 12:54:27 phk Exp $
* $Id: types.h,v 1.11 1996/04/30 23:35:57 bde Exp $
*/

#ifndef _SYS_TYPES_H_
Expand Down Expand Up @@ -74,6 +74,8 @@ typedef int32_t segsz_t; /* segment size */
typedef int32_t swblk_t; /* swap offset */
typedef u_int32_t uid_t; /* user id */

typedef quad_t rlim_t; /* resource limits */

#ifdef KERNEL
typedef int boolean_t;
typedef struct vm_page *vm_page_t;
Expand Down

0 comments on commit 7431589

Please sign in to comment.