chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b732fda
)
Add a #include of <stdbool.h>.
author
Simon Tatham
<anakin@pobox.com>
Tue, 13 Nov 2018 21:31:32 +0000
(21:31 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Tue, 13 Nov 2018 21:31:32 +0000
(21:31 +0000)
This is the first commit in a series which will adopt C99 bool
throughout the code base where it makes sense to do so.
puzzles.h
patch
|
blob
|
history
diff --git
a/puzzles.h
b/puzzles.h
index 2eb7647022038a26f767e5640d3cef46ddd84f2d..e36c6c6c493a26cdc61f0c71194b48851810ea27 100644
(file)
--- a/
puzzles.h
+++ b/
puzzles.h
@@
-8,6
+8,7
@@
#include <stdio.h> /* for FILE */
#include <stdlib.h> /* for size_t */
#include <limits.h> /* for UINT_MAX */
+#include <stdbool.h>
#ifndef TRUE
#define TRUE 1