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-rtems-file.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c') diff --git a/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c b/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c index 8902a0d269..31df78acf1 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c +++ b/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c @@ -21,16 +21,9 @@ #endif #include +#include #include -#if SIZEOF_OFF_T == 8 -#define PRIdoff_t PRId64 -#elif SIZEOF_OFF_T == 4 -#define PRIdoff_t PRId32 -#else -#error "unsupported size of off_t" -#endif - #include #include "rtems-rfs-rtems.h" -- cgit v1.2.3