* cfg.mk: Avoid spellcheck failures.
* src/copy-file-data.c: Avoid sc_tight_scope and long_lines failure.
* src/copy.h: Avoid indentation issues.
_gl_TS_obj_files = src/*.$(OBJEXT)
# Settings for running codespell.
csiwl_1 = debbugs,clen,te,bu,shs,linke,fo,souch,inout,outin
-csiwl_2 = kno,ois,afile,whats,hda,indx,ot,nam
+csiwl_2 = kno,ois,afile,whats,hda,indx,ot,nam,ist
codespell_ignore_words_list = $(csiwl_1),$(csiwl_2)
exclude_file_name_regexp--sc_codespell = \
^(THANKS\.in|tests/pr/.*(F|tn?|l(o|m|i)|bl))$$
If successful, return the number of bytes copied;
otherwise, diagnose the error and return -1. */
-intmax_t
+extern intmax_t
copy_file_data (int ifd, struct stat const *ist, off_t ipos, char const *iname,
int ofd, struct stat const *ost, off_t opos, char const *oname,
- count_t ibytes, struct cp_options const *x, struct copy_debug *debug)
+ count_t ibytes, struct cp_options const *x,
+ struct copy_debug *debug)
{
/* Choose a suitable buffer size; it may be adjusted later. */
idx_t buf_size = io_blksize (ost);
/* The type of a large counter. Although it is always nonnegative,
it is signed to help signed overflow checking catch any bugs. */
typedef intmax_t count_t;
-#define COUNT_MAX INTMAX_MAX
+# define COUNT_MAX INTMAX_MAX
bool copy (char const *src_name, char const *dst_name,
int dst_dirfd, char const *dst_relname,