summaryrefslogtreecommitdiffstats
path: root/cpukit/libdl
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2017-04-14 13:55:48 -0500
committerJoel Sherrill <joel@rtems.org>2017-04-18 11:24:44 -0500
commit54bdf0c7e5d689da76d41ccbbf2c9dc830fd8c4e (patch)
tree9df296747c4d42e9580c04ad5f7d4e1ca469b532 /cpukit/libdl
parenttestsuite: Fix rtems-test-check not excluding tests. (diff)
downloadrtems-54bdf0c7e5d689da76d41ccbbf2c9dc830fd8c4e.tar.bz2
rtems/inttypes.h: New file. Uses contents from cpukit
Provide extentions to <inttpes.h> PRIxxx constants for more POSIX types. Start with existing definitions found in RTEMS Project owned code in cpukit/. updates #2983.
Diffstat (limited to 'cpukit/libdl')
-rw-r--r--cpukit/libdl/rtl-shell.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/cpukit/libdl/rtl-shell.c b/cpukit/libdl/rtl-shell.c
index a10c931c6e..0bb3519555 100644
--- a/cpukit/libdl/rtl-shell.c
+++ b/cpukit/libdl/rtl-shell.c
@@ -20,16 +20,7 @@
#endif
#include <inttypes.h>
-
-/*
- * Flag the targets where off_t is 32 bits. This is not a compiler type
- * so we can't rely on prerdefines.
- */
-#if defined(__moxie__)
-#define PRIdoff_t PRIo32
-#else
-#define PRIdoff_t PRIo64
-#endif
+#include <rtems/inttypes.h>
#include <stdio.h>
#include <string.h>