From c9b1c760b19189a41d157781c1c11385d4a18883 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sat, 11 Apr 2015 10:38:37 -0700 Subject: [PATCH] eliminate headers --- args.c | 8 -------- args.h | 9 --------- crc32.c | 10 +--------- crc32.h | 13 ------------- main.c | 7 ------- 5 files changed, 1 insertion(+), 46 deletions(-) delete mode 100644 args.h delete mode 100644 crc32.h diff --git a/args.c b/args.c index 90d9a55..452e3cb 100644 --- a/args.c +++ b/args.c @@ -1,12 +1,4 @@ -/* Copyright (C) 2012 Connor Olding - * - * This program is licensed under the terms of the MIT License, and - * is distributed without any warranty. You should have received a - * copy of the license along with this program; see the file LICENSE. - */ - #include -#include "args.h" static int argc, argi; static char **argv, *flag; diff --git a/args.h b/args.h deleted file mode 100644 index 0b002bc..0000000 --- a/args.h +++ /dev/null @@ -1,9 +0,0 @@ -/* Copyright (C) 2012 Connor Olding - * - * This program is licensed under the terms of the MIT License, and - * is distributed without any warranty. You should have received a - * copy of the license along with this program; see the file LICENSE. - */ - -void args_parse(int argc, char **argv, - void flagfn(char, char*()), void plainfn(char*)); diff --git a/crc32.c b/crc32.c index 8dd6cab..fa2d770 100644 --- a/crc32.c +++ b/crc32.c @@ -1,12 +1,4 @@ -/* Copyright (C) 2012 Connor Olding - * - * This program is licensed under the terms of the MIT License, and - * is distributed without any warranty. You should have received a - * copy of the license along with this program; see the file LICENSE. - */ - -typedef unsigned long ulong; -#include "crc32.h" +enum { CRC_TABLE_SIZE = 0x100 }; ulong crc_reflect(ulong input) diff --git a/crc32.h b/crc32.h deleted file mode 100644 index 4e43b4a..0000000 --- a/crc32.h +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (C) 2012 Connor Olding - * - * This program is licensed under the terms of the MIT License, and - * is distributed without any warranty. You should have received a - * copy of the license along with this program; see the file LICENSE. - */ - -enum { CRC_TABLE_SIZE = 0x100 }; - -void crc_fill_table(ulong *table, int big, ulong polynomial); -void crc_be_cycle(ulong *table, ulong *remainder, char c); -void crc_le_cycle(ulong *table, ulong *remainder, char c); -ulong crc_reflect(ulong input); diff --git a/main.c b/main.c index 2d809ff..9c10dc4 100644 --- a/main.c +++ b/main.c @@ -1,10 +1,3 @@ -/* Copyright (C) 2012 Connor Olding - * - * This program is licensed under the terms of the MIT License, and - * is distributed without any warranty. You should have received a - * copy of the license along with this program; see the file LICENSE. - */ - #include #include