Author | Jamozed <[email protected]> |
Date | 2020-07-26 11:10:59 |
Commit | 26da66e23a3d8463aada8e1da8f17486152b82b2 |
Parent | 30b524183d5166708cc86c1083110798123f923e |
crc32: Use local library instead of libokv
Diffstat
M | src/crc32.c | | | 9 | ++++----- |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/crc32.c b/src/crc32.c index 0d5e225..9234a09 100644 --- a/src/crc32.c +++ b/src/crc32.c @@ -1,4 +1,4 @@ -// crc32.c, version 1.0.3 +// crc32.c, version 1.0.4 // OMKOV cryptutils crc32 // Copyright (C) 2020, Jakob Wakeling // All rights reserved. @@ -33,15 +33,14 @@ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. */ +#include "lib/error.c" #include "optget.h" -#include <error.h> - #include <stdbool.h> #include <stdint.h> #include <stdio.h> -#define VERSION "1.0.3" +#define VERSION "1.0.4" static const uint32_t CRC32[] = { 0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f, @@ -147,7 +146,7 @@ static void help(void) { } static void version() { - puts("OMKOV coreutils crc32, version " VERSION); + puts("OMKOV cryptutils crc32, version " VERSION); puts("Copyright (C) 2020, Jakob Wakeling"); puts("All rights reserved."); puts("OMKOV Permissive Licence (https://www.omkov.net/OLPE)");