mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-02 10:42:45 +00:00
Move definition of nl_item type to <sys/_types.h>, so that it can be
shared.
This commit is contained in:
parent
bed4636e02
commit
f4a1f909c6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103521
@ -39,7 +39,11 @@ up-to-date. Many thanks.
|
||||
#define NL_SETD 0
|
||||
#define NL_CAT_LOCALE 1
|
||||
|
||||
typedef int nl_item;
|
||||
#ifndef _NL_ITEM_DECLARED
|
||||
typedef __nl_item nl_item;
|
||||
#define _NL_ITEM_DECLARED
|
||||
#endif
|
||||
|
||||
typedef void *nl_catd;
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
@ -41,6 +41,7 @@ typedef __uint64_t __fsblkcnt_t;
|
||||
typedef __uint64_t __fsfilcnt_t;
|
||||
typedef __uint32_t __gid_t;
|
||||
typedef __uint16_t __mode_t; /* permissions */
|
||||
typedef int __nl_item;
|
||||
typedef __int64_t __off_t; /* file offset */
|
||||
typedef __int32_t __pid_t; /* process [group] */
|
||||
typedef __uint8_t __sa_family_t;
|
||||
|
Loading…
Reference in New Issue
Block a user