From 54bdf0c7e5d689da76d41ccbbf2c9dc830fd8c4e Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 14 Apr 2017 13:55:48 -0500 Subject: rtems/inttypes.h: New file. Uses contents from cpukit Provide extentions to PRIxxx constants for more POSIX types. Start with existing definitions found in RTEMS Project owned code in cpukit/. updates #2983. --- cpukit/libfs/src/rfs/rtems-rfs-dir.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'cpukit/libfs/src/rfs/rtems-rfs-dir.c') diff --git a/cpukit/libfs/src/rfs/rtems-rfs-dir.c b/cpukit/libfs/src/rfs/rtems-rfs-dir.c index 5a39cd47cd..58bf305f4e 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-dir.c +++ b/cpukit/libfs/src/rfs/rtems-rfs-dir.c @@ -28,16 +28,9 @@ #endif #include +#include #include -#if SIZEOF_OFF_T == 8 -#define PRIooff_t PRIo64 -#elif SIZEOF_OFF_T == 4 -#define PRIooff_t PRIo32 -#else -#error "unsupported size of off_t" -#endif - #include #include #include -- cgit v1.2.3