summaryrefslogtreecommitdiffstats
path: root/cpukit/include
diff options
context:
space:
mode:
authorcvs2git <rtems-devel@rtems.org>2003-05-27 16:17:32 +0000
committercvs2git <rtems-devel@rtems.org>2003-05-27 16:17:32 +0000
commitd17d9c81e790f3c3ff725e59954c3f372e614f16 (patch)
tree86576796d92208152672f9f7125671c1fb267400 /cpukit/include
parent2003-05-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-d17d9c81e790f3c3ff725e59954c3f372e614f16.tar.bz2
This commit was manufactured by cvs2svn to create branch 'rtems-4-6-branch'.
Cherrypick from master 2003-05-27 16:17:31 UTC Ralf Corsepius <ralf.corsepius@rtems.org> '2003-05-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>': c/src/tests/samples/pppd/.cvsignore c/src/tests/samples/pppd/Makefile-user c/src/tests/samples/pppd/Makefile.am c/src/tests/samples/pppd/README c/src/tests/samples/pppd/init.c c/src/tests/samples/pppd/netconfig.h c/src/tests/samples/pppd/ppp.conf c/src/tests/samples/pppd/pppd.options c/src/tests/samples/pppd/pppdapp.c c/src/tests/samples/pppd/system.h cpukit/include/rtems/stdint.h
Diffstat (limited to 'cpukit/include')
-rw-r--r--cpukit/include/rtems/stdint.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/cpukit/include/rtems/stdint.h b/cpukit/include/rtems/stdint.h
new file mode 100644
index 0000000000..0922d45d1c
--- /dev/null
+++ b/cpukit/include/rtems/stdint.h
@@ -0,0 +1,35 @@
+/*
+ * rtems/stdint.h
+ *
+ * ISO C99 integer types
+ *
+ * $Id$
+ */
+
+#ifndef __rtems_stdint_h
+#define __rtems_stdint_h
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <rtems/score/types.h>
+
+/*
+ * map RTEMS internal types onto C99 types
+ */
+typedef signed8 int8_t;
+typedef signed16 int16_t;
+typedef signed32 int32_t;
+typedef signed64 int64_t;
+
+typedef unsigned8 uint8_t;
+typedef unsigned16 uint16_t;
+typedef unsigned32 uint32_t;
+typedef unsigned64 uint64_t;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif