Skip to content

Commit 900e50b

Browse files
committed
Tidy up includes
Remove includes that are no longer required and add those that ought to be there for best practices (where they were previously working anyway because their dependencies include the appropriate headers)
1 parent 5910cfe commit 900e50b

File tree

6 files changed

+5
-4
lines changed

6 files changed

+5
-4
lines changed

saxbospiral/plot.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#include <stdint.h>
21
#include <stdlib.h>
32

43
#include "saxbospiral.h"

saxbospiral/serialise.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#warning "Please compile this code for a target with 64-bit words or greater."
44
#endif
55

6+
#include <stdint.h>
67
#include <stdio.h>
78
#include <stdlib.h>
89
#include <string.h>

saxbospiral/solve.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
#endif
55

66
#include <stdbool.h>
7+
#include <stddef.h>
78
#include <stdint.h>
89
#include <stdio.h>
9-
#include <stdlib.h>
1010

1111
#include "saxbospiral.h"
1212
#include "plot.h"

saxbospiral/solve.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef SAXBOPHONE_SAXBOSPIRAL_SOLVE_H
22
#define SAXBOPHONE_SAXBOSPIRAL_SOLVE_H
33

4-
#include <stdbool.h>
4+
#include <stdint.h>
55

66
#include "saxbospiral.h"
77

sxp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include <stdbool.h>
2+
#include <stdint.h>
23
#include <stdio.h>
34
#include <stdlib.h>
45

sxp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
#define SAXBOPHONE_SAXBOSPIRAL_SXP_H
33

44
#include <stdbool.h>
5+
#include <stddef.h>
56
#include <stdio.h>
6-
#include <stdlib.h>
77

88
#include "saxbospiral/saxbospiral.h"
99

0 commit comments

Comments
 (0)