diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-01-10 15:02:52 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-01-10 15:02:52 +0000 |
commit | 0b178f043679cbdfa8e2aaf4362b5be61fca4e7a (patch) | |
tree | 867422a8b6519fd5419a1a5837e84871308c14b8 /cpukit/libcsupport/include | |
parent | 2003-01-03 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-0b178f043679cbdfa8e2aaf4362b5be61fca4e7a.tar.bz2 |
2003-01-10 Joel Sherrill <joel@OARcorp.com>
* include/rtems/libio.h: Rename __dev_t to __rtems_dev_t to avoid
conflict with GNU/Linux header files.
Diffstat (limited to 'cpukit/libcsupport/include')
-rw-r--r-- | cpukit/libcsupport/include/rtems/libio.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/libcsupport/include/rtems/libio.h b/cpukit/libcsupport/include/rtems/libio.h index df46f26956..de41d6388f 100644 --- a/cpukit/libcsupport/include/rtems/libio.h +++ b/cpukit/libcsupport/include/rtems/libio.h @@ -468,7 +468,7 @@ typedef int (*rtems_libio_lseek_t)( #include <unistd.h> -union __dev_t { +union __rtems_dev_t { dev_t device; struct { rtems_device_major_number major; @@ -481,7 +481,7 @@ static inline dev_t rtems_filesystem_make_dev_t( rtems_device_minor_number _minor ) { - union __dev_t temp; + union __rtems_dev_t temp; temp.__overlay.major = _major; temp.__overlay.minor = _minor; @@ -492,7 +492,7 @@ static inline rtems_device_major_number rtems_filesystem_dev_major_t( dev_t device ) { - union __dev_t temp; + union __rtems_dev_t temp; temp.device = device; return temp.__overlay.major; @@ -503,7 +503,7 @@ static inline rtems_device_minor_number rtems_filesystem_dev_minor_t( dev_t device ) { - union __dev_t temp; + union __rtems_dev_t temp; temp.device = device; return temp.__overlay.minor; |