summaryrefslogtreecommitdiff
path: root/src/stem/lib
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2010-02-03 15:22:30 +0100
committerAlexis211 <alexis211@gmail.com>2010-02-03 15:22:30 +0100
commit9c4310651a91e64c10a17f3190c895a49096aeb1 (patch)
treeaf87d115512249458f80f184d53db403c3f0bb0f /src/stem/lib
parent7f72a900c12ba62db12df0872cb66f79a27aa9d9 (diff)
downloadTCE-9c4310651a91e64c10a17f3190c895a49096aeb1.tar.gz
TCE-9c4310651a91e64c10a17f3190c895a49096aeb1.zip
Reogranization
Diffstat (limited to 'src/stem/lib')
-rw-r--r--src/stem/lib/bitset.h2
-rw-r--r--src/stem/lib/stdlib.h2
-rw-r--r--src/stem/lib/types.h15
3 files changed, 17 insertions, 2 deletions
diff --git a/src/stem/lib/bitset.h b/src/stem/lib/bitset.h
index e3fe078..fe9e8c2 100644
--- a/src/stem/lib/bitset.h
+++ b/src/stem/lib/bitset.h
@@ -1,7 +1,7 @@
#ifndef DEF_BITSET_H
#define DEF_BITSET_H
-#include "../types.h"
+#include <types.h>
#define INDEX_FROM_BIT(a) (a/(8*4))
#define OFFSET_FROM_BIT(a) (a%(8*4))
diff --git a/src/stem/lib/stdlib.h b/src/stem/lib/stdlib.h
index a6d8f48..704c410 100644
--- a/src/stem/lib/stdlib.h
+++ b/src/stem/lib/stdlib.h
@@ -1,7 +1,7 @@
#ifndef DEF_STDLIB_H
#define DEF_STDLIB_H
-#include "../types.h"
+#include <types.h>
void *memcpy(void *dest, const void *src, int count);
uint8_t *memset(uint8_t *dest, uint8_t val, int count);
diff --git a/src/stem/lib/types.h b/src/stem/lib/types.h
new file mode 100644
index 0000000..b7b19ab
--- /dev/null
+++ b/src/stem/lib/types.h
@@ -0,0 +1,15 @@
+#ifndef DEF_TYPES_H
+#define DEF_TYPES_H
+
+typedef unsigned long long uint64_t;
+typedef unsigned int uint32_t;
+typedef unsigned short uint16_t;
+typedef unsigned char uint8_t;
+typedef long long int64_t;
+typedef int int32_t;
+typedef short int16_t;
+typedef char int8_t;
+
+typedef unsigned int size_t;
+
+#endif