diff options
| author | tslil clingman <tslil@posteo.de> | 2021-01-20 13:23:58 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2021-01-20 14:30:35 -0500 |
| commit | 9687827db547cf7a5bed7f43d2f51746914b43e3 (patch) | |
| tree | f08bc685da10ec7f9201f983e1b5528f388f7f88 /src/ct1986.c | |
| parent | a8a9e84f44acbf8f6d0993d5a90cd589868fb020 (diff) | |
In-lined as much as a i dare
Diffstat (limited to 'src/ct1986.c')
| -rw-r--r-- | src/ct1986.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/ct1986.c b/src/ct1986.c index 91d70b0..b265b57 100644 --- a/src/ct1986.c +++ b/src/ct1986.c @@ -95,8 +95,9 @@ new_game(uint8_t size) { gamelog[0] = 0; } -static void -dot(const uint8_t depth) { +// Set up output function for ct1986 +inline void +ct1986_display_progress(const uint8_t depth) { if (depth == 0) { fputc('#', lcd); } @@ -165,9 +166,6 @@ main(int argc, char **argv) { lcd = fopen("/dev/lcd","w"); if (lcd == NULL) return EXIT_FAILURE; - // Set up output function for ct1986 - ct1986_display_progress = ˙ - human = 0; search_depth = 3; new_game(5); |
