This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 22/22] Provide vm_ooffset_t, vm_paddr_t and vm_pindex_t


Provide vm_ooffset_t, vm_paddr_t and vm_pindex_t via <sys/types.h> if
__BSD_VISIBLE for BSD compatibility.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
---
 newlib/libc/include/sys/types.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/include/sys/types.h
index 674cd30..9918274 100644
--- a/newlib/libc/include/sys/types.h
+++ b/newlib/libc/include/sys/types.h
@@ -112,6 +112,10 @@ typedef	__rlim_t	rlim_t;		/* resource limit */
 typedef	__uintptr_t	segsz_t;	/* segment size (in pages) */
 
 typedef	__uintptr_t	uintfptr_t;
+
+typedef	__intptr_t	vm_ooffset_t;
+typedef	__uintptr_t	vm_paddr_t;
+typedef	__uintptr_t	vm_pindex_t;
 #endif /* __BSD_VISIBLE */
 
 #if __MISC_VISIBLE
-- 
1.8.4.5


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]