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
commit42ba138efa6159e1d0387b8f3c7b3fb1a34721ad (patch)
treebbae7e53f91d9d1a35e60bda5ef35a5327147387
parent23eede47afbbb7c1d67ffbb3fa6aa84b65a2d422 (diff)
downloadtxr-42ba138efa6159e1d0387b8f3c7b3fb1a34721ad.tar.gz
txr-42ba138efa6159e1d0387b8f3c7b3fb1a34721ad.tar.bz2
txr-42ba138efa6159e1d0387b8f3c7b3fb1a34721ad.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);