Skip to content

Commit aba75ae

Browse files
Remove unused prefix.h
Since about the time of b2b196b the SIMPLICITY_PREFIX has actually been unused, which explains why when 7592dd5 was merged containing an error, it didn't cause any test failures. So here we fix the issue by simply deleting the file.
1 parent 7592dd5 commit aba75ae

File tree

6 files changed

+0
-8
lines changed

6 files changed

+0
-8
lines changed

C/dag.c

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#include <stdbool.h>
44
#include "bounded.h"
55
#include "precomputed.h"
6-
#include "prefix.h"
76
#include "rsort.h"
87
#include "sha256.h"
98
#include "simplicity_alloc.h"

C/elements-sources.mk

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ ELEMENTS_SIMPLICITY_LIB_HEADERS_INT += %reldir%/frame.h
4141
ELEMENTS_SIMPLICITY_LIB_HEADERS_INT += %reldir%/jets.h
4242
ELEMENTS_SIMPLICITY_LIB_HEADERS_INT += %reldir%/limitations.h
4343
ELEMENTS_SIMPLICITY_LIB_HEADERS_INT += %reldir%/precomputed.h
44-
ELEMENTS_SIMPLICITY_LIB_HEADERS_INT += %reldir%/prefix.h
4544
ELEMENTS_SIMPLICITY_LIB_HEADERS_INT += %reldir%/primitive.h
4645
ELEMENTS_SIMPLICITY_LIB_HEADERS_INT += %reldir%/rsort.h
4746
ELEMENTS_SIMPLICITY_LIB_HEADERS_INT += %reldir%/sha256.h

C/jets-secp256k1.c

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#include "taptweak.h"
33

44
#include "precomputed.h"
5-
#include "prefix.h"
65
#include "sha256.h"
76
#include "secp256k1/secp256k1_impl.h"
87

C/prefix.h

-3
This file was deleted.

C/primitive/elements/primitive.c

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
#include "elementsJets.h"
66
#include "../../limitations.h"
7-
#include "../../prefix.h"
87
#include "../../primitive.h"
98
#include "../../simplicity_alloc.h"
109
#include "../../simplicity_assert.h"

C/type.c

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#include <stdbool.h>
44

55
#include "precomputed.h"
6-
#include "prefix.h"
76
#include "simplicity_assert.h"
87

98
/* Given a the 'kind' of a Simplicity type, return the SHA-256 hash of its associated TMR tag.

0 commit comments

Comments
 (0)