summaryrefslogtreecommitdiff
path: root/sed/utils.h
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2014-12-09 10:27:05 -0800
committerJim Meyering <meyering@fb.com>2015-01-01 19:21:26 -0800
commit96fe108e6476d64c0aa62c24e30e8f51a0c399a2 (patch)
tree87381c595b33faff6ec0280d133942ab9d6c1ba1 /sed/utils.h
parent5445ae1fc3086b2ac58993ab24899f35ea918fe2 (diff)
downloadsed-96fe108e6476d64c0aa62c24e30e8f51a0c399a2.tar.gz
maint: enable sc_prohibit_long_lines
* cfg.mk (local-checks-to-skip): Remove the overall exemption, but continue to exempt some files in testsuite/. * configure.ac: Split a long line. * doc/sed-in.texi: Split long lines. * doc/sed.texi: Likewise. * sed/compile.c: Likewise. * sed/execute.c: Split long lines. (execute_program): Reorder "#ifdef HAVE_POPEN" and "if (pipe_fp != NULL)" if/else blocks to make the code clearer and (incidentally) the lines shorter, due to a decrease in nesting level. * sed/sed.c: Split long lines. * sed/utils.c: Likewise. * sed/utils.h: Likewise.
Diffstat (limited to 'sed/utils.h')
-rw-r--r--sed/utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sed/utils.h b/sed/utils.h
index 844efa7..62a46dc 100644
--- a/sed/utils.h
+++ b/sed/utils.h
@@ -29,7 +29,8 @@ size_t ck_fread (void *ptr, size_t size, size_t nmemb, FILE *stream);
void ck_fflush (FILE *stream);
void ck_fclose (FILE *stream);
const char *follow_symlink (const char *path);
-size_t ck_getdelim (char **text, size_t *buflen, char buffer_delimiter, FILE *stream);
+size_t ck_getdelim (char **text, size_t *buflen, char buffer_delimiter,
+ FILE *stream);
FILE * ck_mkstemp (char **p_filename, const char *tmpdir, const char *base,
const char *mode);
void ck_rename (const char *from, const char *to, const char *unlink_if_fail);