diff --git a/ChangeLog b/ChangeLog
index 260aad9bf6f6d0ac3a17da2932e9331621a1d9ff..ddea5d5ace90943441c7d8c697aad4a90c2437e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -230,6 +230,9 @@ CVS code -
 	  tab. (DLR)
 	- Move the PATH_MAX #define here from files.c.
 	- Remove unused COPYFILEBLOCKSIZE #define. (DLR)
+- proto.h:
+	- Add missing NANO_SMALL #ifdef around the cut_marked_segment()
+	  prototype. (DLR)
 - rcfile.c:
   parse_rcfile()
 	- Add missing brackets around an if statement block so that
diff --git a/src/proto.h b/src/proto.h
index f31cfab0f5daba28a12865feb3304d20a2b49060..0f409c8d4450487e2ebec3350710d776e13dedc9 100644
--- a/src/proto.h
+++ b/src/proto.h
@@ -160,7 +160,9 @@ void update_color(void);
 void cutbuffer_reset(void);
 filestruct *get_cutbottom(void);
 void add_to_cutbuffer(filestruct *inptr, bool allow_concat);
+#ifndef NANO_SMALL
 void cut_marked_segment(void);
+#endif
 void do_cut_text(void);
 void do_uncut_text(void);