summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-08-17 19:52:31 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-08-17 19:52:31 -0700
commit1036a524db9363bde7b0ae199b2eacf6e27bd251 (patch)
treebbae7e53f91d9d1a35e60bda5ef35a5327147387
parent486e8e1bad776543161ffceaba86f76b0320d383 (diff)
downloadtxr-1036a524db9363bde7b0ae199b2eacf6e27bd251.tar.gz
txr-1036a524db9363bde7b0ae199b2eacf6e27bd251.tar.bz2
txr-1036a524db9363bde7b0ae199b2eacf6e27bd251.zip
Remove unnecessary forward declarations.
* lib.c (length_proper_list): Forward decl removed. * match.c (do_match_line): Likewise.
-rw-r--r--lib.c2
-rw-r--r--match.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/lib.c b/lib.c
index 7e579f41..cbf9cc2a 100644
--- a/lib.c
+++ b/lib.c
@@ -11146,8 +11146,6 @@ val copy(val seq)
}
}
-static val length_proper_list(val list);
-
val length(val seq)
{
switch (type(seq)) {
diff --git a/match.c b/match.c
index 5b9c6555..0e03f93f 100644
--- a/match.c
+++ b/match.c
@@ -507,7 +507,6 @@ static match_line_ctx ml_bindings_specline_pos(match_line_ctx c, val bindings,
return nc;
}
-static val do_match_line(match_line_ctx *c);
static val match_line(match_line_ctx c);
typedef val (*h_match_func)(match_line_ctx *c);