Skip to content

Commit 112dd72

Browse files
committed
build: Remove unneeded file types.h
The file types.h has long been misnamed and overlaps with functionality in the test helper routines. Change-Id: I774047d3a0074198b67a6b4e909f1e2ce1938195 Signed-off-by: Greg Tucker <[email protected]>
1 parent cfdd349 commit 112dd72

27 files changed

+53
-104
lines changed

Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ INPUT = isa-l.h \
1717
doc/test.md \
1818
doc/build.md
1919

20-
EXCLUDE = include/test.h include/types.h include/unaligned.h
20+
EXCLUDE = include/test.h include/unaligned.h
2121
EXCLUDE_PATTERNS = */include/*_multibinary.h
2222
EXAMPLE_PATH = . crc raid erasure_code igzip
2323
PAPER_TYPE = letter

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ CLEANFILES =
33
LDADD =
44
AM_MAKEFLAGS = --no-print-directory
55
noinst_HEADERS =
6-
pkginclude_HEADERS = include/test.h include/types.h
6+
pkginclude_HEADERS = include/test.h
77
noinst_LTLIBRARIES =
88
bin_PROGRAMS =
99
INCLUDE = -I $(srcdir)/include/

crc/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ lsrc_x86_64 += \
7272
src_include += -I $(srcdir)/crc
7373
extern_hdrs += include/crc.h include/crc64.h
7474

75-
other_src += include/reg_sizes.asm include/types.h include/test.h \
75+
other_src += include/reg_sizes.asm include/test.h \
7676
crc/crc_ref.h crc/crc64_ref.h
7777

7878
check_tests += crc/crc16_t10dif_test \

crc/crc16_t10dif_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
#include <stdint.h>
3333
#include <stdlib.h>
3434
#include "crc.h"
35-
#include "types.h"
3635
#include "crc_ref.h"
36+
#include "test.h"
3737

3838
#ifndef TEST_SEED
3939
# define TEST_SEED 0x1234

crc/crc32_funcs_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
#include <string.h>
3333
#include <stdint.h>
3434
#include "crc.h"
35-
#include "types.h"
3635
#include "crc_ref.h"
36+
#include "test.h"
3737

3838
#ifndef TEST_SEED
3939
# define TEST_SEED 0x1234

crc/crc64_funcs_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
#include <string.h>
3333
#include <stdint.h>
3434
#include "crc64.h"
35-
#include "types.h"
3635
#include "crc64_ref.h"
36+
#include "test.h"
3737

3838
#ifndef TEST_SEED
3939
# define TEST_SEED 0x1234

erasure_code/Makefile.am

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,5 +149,4 @@ perf_tests += erasure_code/gf_vect_mul_perf \
149149

150150
other_tests += erasure_code/gen_rs_matrix_limits
151151

152-
other_src += include/test.h \
153-
include/types.h
152+
other_src += include/test.h

erasure_code/erasure_code_base_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#include <stdlib.h>
3232
#include <string.h> // for memset, memcmp
3333
#include "erasure_code.h"
34-
#include "types.h"
34+
#include "test.h"
3535

3636
#define TEST_LEN 8192
3737
#define TEST_SIZE (TEST_LEN/2)

erasure_code/erasure_code_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#include <stdlib.h>
3232
#include <string.h> // for memset, memcmp
3333
#include "erasure_code.h"
34-
#include "types.h"
34+
#include "test.h"
3535

3636
#define TEST_LEN 8192
3737
#define TEST_SIZE (TEST_LEN/2)

erasure_code/erasure_code_update_perf.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
#include <stdlib.h>
3232
#include <string.h> // for memset, memcmp
3333
#include "erasure_code.h"
34-
#include "types.h"
3534
#include "test.h"
3635

3736
//By default, test multibinary version

0 commit comments

Comments
 (0)