Inclusion du header dans main, affichage du résultat, suppression des paramètres de main
This commit is contained in:
parent
06f79c1dfe
commit
97d85bd778
1 changed files with 5 additions and 1 deletions
|
@ -2,9 +2,11 @@
|
|||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "calibration.h"
|
||||
|
||||
#define INPUT_FILE_PATH "./input.txt"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
int main(void) {
|
||||
unsigned int calibration_sum;
|
||||
FILE *input_file;
|
||||
|
||||
|
@ -16,5 +18,7 @@ int main(int argc, char *argv[]) {
|
|||
|
||||
calibration_sum = get_calibration_sum(input_file);
|
||||
|
||||
printf("Calibration sum: %d\n", calibration_sum);
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
|
Reference in a new issue