From 4f9abb52a46a30cee505ab8521653bf7172fc4d3 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 28 Aug 2022 12:57:45 +0200 Subject: [PATCH] build: fix compilation when configured with --enable-tiny Problem existed since commit d1e28417 from four days ago. --- src/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.c b/src/utils.c index 22631b5b..661a35ca 100644 --- a/src/utils.c +++ b/src/utils.c @@ -484,6 +484,7 @@ void get_range(linestruct **top, linestruct **bot) also_the_last = TRUE; } } +#endif /* !NANO_TINY */ /* Return a pointer to the line that has the given line number. */ linestruct *line_from_number(ssize_t number) @@ -499,7 +500,6 @@ linestruct *line_from_number(ssize_t number) return line; } -#endif /* !NANO_TINY */ /* Count the number of characters from begin to end, and return it. */ size_t number_of_characters_in(const linestruct *begin, const linestruct *end)