diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/prebuilt/wasm-bison-parser.c | 2 | ||||
-rw-r--r-- | src/wasm-bison-parser.y | 2 | ||||
-rw-r--r-- | src/wasm-literal.c (renamed from src/wasm-parse-literal.c) | 2 | ||||
-rw-r--r-- | src/wasm-literal.h (renamed from src/wasm-parse-literal.h) | 5 |
4 files changed, 8 insertions, 3 deletions
diff --git a/src/prebuilt/wasm-bison-parser.c b/src/prebuilt/wasm-bison-parser.c index 2838c1c5..9b29e365 100644 --- a/src/prebuilt/wasm-bison-parser.c +++ b/src/prebuilt/wasm-bison-parser.c @@ -78,7 +78,7 @@ #include <stdlib.h> #include "wasm-allocator.h" -#include "wasm-parse-literal.h" +#include "wasm-literal.h" #include "wasm-parser.h" #include "wasm-parser-lexer-shared.h" diff --git a/src/wasm-bison-parser.y b/src/wasm-bison-parser.y index 5da9ffdf..e02bfacd 100644 --- a/src/wasm-bison-parser.y +++ b/src/wasm-bison-parser.y @@ -21,7 +21,7 @@ #include <stdlib.h> #include "wasm-allocator.h" -#include "wasm-parse-literal.h" +#include "wasm-literal.h" #include "wasm-parser.h" #include "wasm-parser-lexer-shared.h" diff --git a/src/wasm-parse-literal.c b/src/wasm-literal.c index d9b8d478..967e8996 100644 --- a/src/wasm-parse-literal.c +++ b/src/wasm-literal.c @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "wasm-parse-literal.h" +#include "wasm-literal.h" #include <assert.h> #include <errno.h> diff --git a/src/wasm-parse-literal.h b/src/wasm-literal.h index 8067757b..73edd12a 100644 --- a/src/wasm-parse-literal.h +++ b/src/wasm-literal.h @@ -14,6 +14,9 @@ * limitations under the License. */ +#ifndef WASM_LITERAL_H_ +#define WASM_LITERAL_H_ + #include <stdint.h> #include "wasm-common.h" @@ -46,3 +49,5 @@ void wasm_write_float_hex(char* buffer, size_t size, uint32_t bits); void wasm_write_double_hex(char* buffer, size_t size, uint64_t bits); WASM_EXTERN_C_END + +#endif /* WASM_LITERAL_H_ */ |