]> diplodocus.org Git - nmh/blobdiff - sbr/utils.c
post.c: Remove `pure' attribute from void-returning chkadr().
[nmh] / sbr / utils.c
index 98fcf24c2bbba120de8b0e46862e6be790a816b8..9f12132fe7f502ab514af84c0c3f9b84eba31016 100644 (file)
@@ -6,6 +6,10 @@
  */
 
 #include "h/mh.h"
  */
 
 #include "h/mh.h"
+#include "read_yes_or_no_if_tty.h"
+#include "concat.h"
+#include "r1bindex.h"
+#include "context_foil.h"
 #include "context_replace.h"
 #include "context_read.h"
 #include "context_find.h"
 #include "context_replace.h"
 #include "context_read.h"
 #include "context_find.h"
@@ -341,7 +345,7 @@ nmh_strcasestr (const char *s1, const char *s2)
 }
 
 
 }
 
 
-/* truncpy copies at most size - 1 chars from non-NULL src to non-NULL,
+/* trunccpy copies at most size-1 chars from non-NULL src to non-NULL,
  * non-overlapping, dst, and ensures dst is NUL terminated.  If size is
  * zero then it aborts as dst cannot be NUL terminated.
  *
  * non-overlapping, dst, and ensures dst is NUL terminated.  If size is
  * zero then it aborts as dst cannot be NUL terminated.
  *