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/libmisc/shell/main_time.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'cpukit/libmisc') diff --git a/cpukit/libmisc/shell/main_time.c b/cpukit/libmisc/shell/main_time.c index 5ea1bf7498..61fc22aa33 100644 --- a/cpukit/libmisc/shell/main_time.c +++ b/cpukit/libmisc/shell/main_time.c @@ -22,17 +22,9 @@ #include #include +#include #include "internal.h" -/* Helper macro to print "time_t" */ -#if SIZEOF_TIME_T == 8 -#define PRIdtime_t PRId64 -#elif SIZEOF_TIME_T == 4 -#define PRIdtime_t PRId32 -#else -#error "PRIdtime_t: unsupported size of time_t" -#endif - static int rtems_shell_main_time( int argc, char *argv[] -- cgit v1.2.3