public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] libc/sys/rtems/include/machine/_types.h: Define daddr_t to be 64 bits for RTEMS
@ 2020-10-28 14:46 Joel Sherrill
  0 siblings, 0 replies; only message in thread
From: Joel Sherrill @ 2020-10-28 14:46 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=fcaaf40c9d2d6016334426b30086fecd8ecebfd0

commit fcaaf40c9d2d6016334426b30086fecd8ecebfd0
Author: Joel Sherrill <joel@rtems.org>
Date:   Tue Oct 27 14:07:08 2020 -0500

    libc/sys/rtems/include/machine/_types.h: Define daddr_t to be 64 bits for RTEMS
    
    This type needs to be able to represent a position on a disk or
    file system.

Diff:
---
 newlib/libc/sys/rtems/include/machine/_types.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/newlib/libc/sys/rtems/include/machine/_types.h b/newlib/libc/sys/rtems/include/machine/_types.h
index 8e2d9a3ef..5bbe5a5a6 100644
--- a/newlib/libc/sys/rtems/include/machine/_types.h
+++ b/newlib/libc/sys/rtems/include/machine/_types.h
@@ -30,6 +30,9 @@ typedef	__uint64_t	_CLOCK_T_;
 typedef	int		_CLOCKID_T_;
 #define	__machine_clockid_t_defined
 
+typedef	__int64_t	daddr_t;
+#define	__daddr_t_defined
+
 typedef	int		__accmode_t;	/* access permissions */
 typedef	__uint32_t	__fixpt_t;	/* fixed point number */
 typedef	int		__lwpid_t;	/* Thread ID (a.k.a. LWP) */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-28 14:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-28 14:46 [newlib-cygwin] libc/sys/rtems/include/machine/_types.h: Define daddr_t to be 64 bits for RTEMS Joel Sherrill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).