eliminate headers
This commit is contained in:
parent
ff6ee0e980
commit
c9b1c760b1
5 changed files with 1 additions and 46 deletions
8
args.c
8
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 <stddef.h>
|
||||
#include "args.h"
|
||||
|
||||
static int argc, argi;
|
||||
static char **argv, *flag;
|
||||
|
|
9
args.h
9
args.h
|
@ -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*));
|
10
crc32.c
10
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)
|
||||
|
|
13
crc32.h
13
crc32.h
|
@ -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);
|
7
main.c
7
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 <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue