diff --git a/src/proto.h b/src/proto.h index 7dd423eb..b9c28a4c 100644 --- a/src/proto.h +++ b/src/proto.h @@ -697,7 +697,9 @@ bool comment_line(undo_type action, filestruct *f, const char *comment_seq); #endif #endif size_t get_totsize(const filestruct *begin, const filestruct *end); +#ifndef NANO_TINY filestruct *fsfromline(ssize_t lineno); +#endif #ifdef DEBUG void dump_filestruct(const filestruct *inptr); void dump_filestruct_reverse(void); diff --git a/src/utils.c b/src/utils.c index b67f940c..764e8eb7 100644 --- a/src/utils.c +++ b/src/utils.c @@ -617,6 +617,7 @@ size_t get_totsize(const filestruct *begin, const filestruct *end) return totsize; } +#ifndef NANO_TINY /* Given a line number, return a pointer to the corresponding struct. */ filestruct *fsfromline(ssize_t lineno) { @@ -637,6 +638,7 @@ filestruct *fsfromline(ssize_t lineno) return f; } +#endif #ifdef DEBUG /* Dump the filestruct inptr to stderr. */