Skip to content

Commit 38d283d

Browse files
committed
minor updates
1 parent da8613d commit 38d283d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

read_file.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#include "read_file.h"
22

3+
#include <stdio.h>
4+
35
text_file_t* read_text_file(char* filename)
46
{
57
text_file_t* result = malloc(sizeof(text_file_t));

read_file.h

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#ifndef READ_FILE_H
22
#define READ_FILE_H
33

4-
#include <stdio.h>
54
#include <stdlib.h>
65

76
typedef enum {

testlib.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44

55
#include "testlib.h"
66

7-
static int test_no = 0;
8-
97
void test(char* name, void (*test_case)(void*), void* (*before)(void), void (*after)(void*))
108
{
9+
static int test_no = 0;
1110
void* obj = before();
1211

1312
printf("%d: %s... ", ++test_no, name);

0 commit comments

Comments
 (0)