aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2016-03-08 22:41:37 +0000
committerIan C <ianc@noddybox.co.uk>2016-03-08 22:41:37 +0000
commit9edfd06f3a609ff6a6c87e3d7bea4e1728eea474 (patch)
treec2ef0821e68f435613d8320238cbe6ea65d6b492 /src
parent282fa7725993c9b0b0d2bb0977c124f11abea1fd (diff)
Fixed prototype of SetNeededPasses()
Diffstat (limited to 'src')
-rw-r--r--src/state.c2
-rw-r--r--src/state.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/state.c b/src/state.c
index da2f3c8..c92811d 100644
--- a/src/state.c
+++ b/src/state.c
@@ -86,7 +86,7 @@ int IsIntermediatePass(void)
}
-int SetNeededPasses(int n)
+void SetNeededPasses(int n)
{
if (!IsFinalPass())
{
diff --git a/src/state.h b/src/state.h
index 6ce9da7..0ebdce5 100644
--- a/src/state.h
+++ b/src/state.h
@@ -69,7 +69,7 @@ int IsIntermediatePass(void);
/* Set number of passes needed. This works while IsFinalPass() returns FALSE.
*/
-int SetNeededPasses(int n);
+void SetNeededPasses(int n);
/* Set the current PC