forgotten include, perfectionism
This commit is contained in:
parent
cd8144aec7
commit
5e38efcedc
2 changed files with 2 additions and 2 deletions
1
args.h
1
args.h
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
/* interface */
|
/* interface */
|
||||||
|
|
||||||
|
|
3
main.c
3
main.c
|
@ -126,9 +126,8 @@ static void cycle_input()
|
||||||
{
|
{
|
||||||
int c;
|
int c;
|
||||||
open_stream();
|
open_stream();
|
||||||
while ((c = getc(input_stream)) != EOF) {
|
while ((c = getc(input_stream)) != EOF)
|
||||||
crc_cycle(&remainder, c);
|
crc_cycle(&remainder, c);
|
||||||
}
|
|
||||||
close_stream();
|
close_stream();
|
||||||
|
|
||||||
if (xor_output)
|
if (xor_output)
|
||||||
|
|
Loading…
Add table
Reference in a new issue