summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/main_time.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libmisc/shell/main_time.c')
-rw-r--r--cpukit/libmisc/shell/main_time.c10
1 files changed, 1 insertions, 9 deletions
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 <rtems.h>
#include <rtems/shell.h>
+#include <rtems/inttypes.h>
#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[]