summaryrefslogtreecommitdiffstats
path: root/tests/datagencli.c
diff options
context:
space:
mode:
authorPrzemyslaw Skibinski <inikep@gmail.com>2016-12-21 08:44:59 (GMT)
committerPrzemyslaw Skibinski <inikep@gmail.com>2016-12-21 08:44:59 (GMT)
commit9546ba62d01a9618aab91eafe77929120653d275 (patch)
tree7f6d9fb37fe6db0212ce4390e21c59ad608e5393 /tests/datagencli.c
parent452cc970d6b35601a2501dab47050592c97bc4ed (diff)
downloadlz4-9546ba62d01a9618aab91eafe77929120653d275.zip
lz4-9546ba62d01a9618aab91eafe77929120653d275.tar.gz
lz4-9546ba62d01a9618aab91eafe77929120653d275.tar.bz2
executables use basic types from util.h
Diffstat (limited to 'tests/datagencli.c')
-rw-r--r--tests/datagencli.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/tests/datagencli.c b/tests/datagencli.c
index 0b78d37..c985197 100644
--- a/tests/datagencli.c
+++ b/tests/datagencli.c
@@ -27,31 +27,13 @@
/**************************************
* Includes
**************************************/
+#include "util.h" /* U32 */
#include <stdio.h> /* fprintf, stderr */
#include "datagen.h" /* RDG_generate */
#include "lz4.h" /* LZ4_VERSION_STRING */
/**************************************
-* Basic Types
-**************************************/
-#if defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */
-# include <stdint.h>
- typedef uint8_t BYTE;
- typedef uint16_t U16;
- typedef uint32_t U32;
- typedef int32_t S32;
- typedef uint64_t U64;
-#else
- typedef unsigned char BYTE;
- typedef unsigned short U16;
- typedef unsigned int U32;
- typedef signed int S32;
- typedef unsigned long long U64;
-#endif
-
-
-/**************************************
* Constants
**************************************/
#define KB *(1 <<10)