X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/bfff2c60b2c860c2bc466bdab94daf770d86aec5..27596d336d5527063d6e7dd4d0559632985eabd3:/sbr/utils.c?ds=inline diff --git a/sbr/utils.c b/sbr/utils.c index 514a7d7a..9f12132f 100644 --- a/sbr/utils.c +++ b/sbr/utils.c @@ -5,10 +5,18 @@ * complete copyright information. */ -#include +#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 "print_help.h" #include "error.h" -#include -#include +#include "h/utils.h" +#include "h/signals.h" #include "m_mktemp.h" #include "makedir.h" #include @@ -337,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. *