diff options
author | Pin <wf6DJd8a3xSSCZbn@protonmail.com> | 2021-10-16 00:49:10 -0400 |
---|---|---|
committer | Pin <wf6DJd8a3xSSCZbn@protonmail.com> | 2021-10-16 00:49:10 -0400 |
commit | a2f023d76b9de51e29b1e81ac8d5aa98ec181eae (patch) | |
tree | e0da9aeb2df72424caf5fb2dd42d3c2edcfa7bc6 | |
parent | 677c34d3677714a768c933b0861c4e3e54ba3c6f (diff) |
wipstable
-rw-r--r-- | cmd/crc.c | 2 | ||||
-rw-r--r-- | include/crc.h | 1 | ||||
-rw-r--r-- | include/crc_util.h | 2 |
3 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,5 @@ +#pragma GCC optimize("Ofast") + #include <endian.h> #include <stdio.h> #include <unistd.h> diff --git a/include/crc.h b/include/crc.h index d33f013..bf3b74a 100644 --- a/include/crc.h +++ b/include/crc.h @@ -1,3 +1,4 @@ +#pragma once int check_file_header(char *addr); int check_header_length(unsigned char *addr, long offset); diff --git a/include/crc_util.h b/include/crc_util.h index be0a513..5670cdb 100644 --- a/include/crc_util.h +++ b/include/crc_util.h @@ -1,6 +1,8 @@ #include <stdio.h> #include <stdint.h> +#pragma once + // PNG File Struct struct PNG_START_FILE_STRUCT { unsigned char file_sig[8]; |