6 Commits

Author SHA1 Message Date
59b69355ef Update bootstrap files.
All checks were successful
BuildTest / Build and test (pull_request) Successful in 4m8s
2024-03-15 15:31:49 +00:00
b51c8f7a6e Give all functions a formal prototype.
This makes the code C89 compliant, and removes all warnings on macOS.
2024-03-15 15:31:49 +00:00
88f1603b2d Move definition on Parameters earlier in global.h
We typedef int * to Parmeters in global.h, but not at the same time as
the other typedefs.  This causes problems when we add a function
declaration for write_scrap().

This also highlights a random `1` being passed as the parameter in one
call to write_scrap().  This is obviously wrong, but the purpose of this
fix is to remove warnings - not do a deep dive into what the code is
doing.
2024-03-15 15:31:49 +00:00
b993c46cce Correct prototype of write_tex().
In a reverse of write_html(), write_tex() is declared with three
parameters, but only called with two.

Removing the third parameter is fine as it is unused.
2024-03-15 15:31:49 +00:00
6d436f82a6 Correct calls to write_html()
write_html() is declared as taking two parameters, but the call to it
passes three.

We fix this by dropping the third parameter, which was labelled 'DUMMY'
anyway.
2024-03-15 15:31:49 +00:00
063fdca1ca Fix typo in pull_request workflow
All checks were successful
BuildTest / Build and test (push) Successful in 3m56s
We cannot spell the word "branches"
2024-03-15 15:31:17 +00:00

View File

@@ -3,7 +3,7 @@ on:
push:
branches: [ main ]
pull_request:
breanches: [ main ]
branches: [ main ]
jobs:
build: