summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-07-01 22:56:24 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-07-01 22:56:24 +0000
commitd64c874c65656e8d1d7207e2fdbcbe11b6c5847d (patch)
treea3656e367f38709daea26ab701549333ddcae2cc
parent112dc1f135b5e960bba6188f8845382c5551ed8b (diff)
downloadmandoc-d64c874c65656e8d1d7207e2fdbcbe11b6c5847d.tar.gz
delete trailing whitespace and space-tab sequences; no code change;
patch from Michal Nowak <mnowak at startmail dot com> who found these with git pbchk in the illumos tree
-rwxr-xr-xconfigure2
-rw-r--r--dbm.c4
-rw-r--r--dbm_map.h2
-rw-r--r--lib.in2
-rw-r--r--man_term.c2
-rw-r--r--mansearch.c2
-rw-r--r--mdoc_markdown.c2
-rwxr-xr-xregress/regress.pl2
-rw-r--r--roff.c4
-rw-r--r--tbl_term.c2
10 files changed, 12 insertions, 12 deletions
diff --git a/configure b/configure
index 4379240b..bc0ac0dc 100755
--- a/configure
+++ b/configure
@@ -529,7 +529,7 @@ fi
echo "extern char *mkdtemp(char *);"
if [ ${HAVE_PROGNAME} -eq 0 ]; then
- echo "extern const char *getprogname(void);"
+ echo "extern const char *getprogname(void);"
echo "extern void setprogname(const char *);"
fi
diff --git a/dbm.c b/dbm.c
index 5f6daf10..1087a015 100644
--- a/dbm.c
+++ b/dbm.c
@@ -233,7 +233,7 @@ static struct dbm_res
page_bytitle(enum iter arg_iter, const struct dbm_match *arg_match)
{
static const struct dbm_match *match;
- static const char *cp;
+ static const char *cp;
static int32_t ip;
struct dbm_res res = {-1, 0};
@@ -315,7 +315,7 @@ page_byarch(const struct dbm_match *arg_match)
static const struct dbm_match *match;
struct dbm_res res = {-1, 0};
static int32_t ip;
- const char *cp;
+ const char *cp;
/* Initialize for a new iteration. */
diff --git a/dbm_map.h b/dbm_map.h
index 41690a6c..efb301e0 100644
--- a/dbm_map.h
+++ b/dbm_map.h
@@ -14,7 +14,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * Private interface for low-level routines for the map-based version
+ * Private interface for low-level routines for the map-based version
* of the mandoc database, for read-only access.
* To be used by dbm*.c only.
*/
diff --git a/lib.in b/lib.in
index f992433c..0b78eb19 100644
--- a/lib.in
+++ b/lib.in
@@ -43,7 +43,7 @@ LINE("libcipher", "FreeSec Crypt Library (libcipher, \\-lcipher)")
LINE("libcompat", "Compatibility Library (libcompat, \\-lcompat)")
LINE("libcrypt", "Crypt Library (libcrypt, \\-lcrypt)")
LINE("libcurses", "Curses Library (libcurses, \\-lcurses)")
-LINE("libcuse", "Userland Character Device Library (libcuse, \\-lcuse)")
+LINE("libcuse", "Userland Character Device Library (libcuse, \\-lcuse)")
LINE("libdevattr", "Device attribute and event library (libdevattr, \\-ldevattr)")
LINE("libdevctl", "Device Control Library (libdevctl, \\-ldevctl)")
LINE("libdevinfo", "Device and Resource Information Utility Library (libdevinfo, \\-ldevinfo)")
diff --git a/man_term.c b/man_term.c
index 1ec7130b..40ed336a 100644
--- a/man_term.c
+++ b/man_term.c
@@ -315,7 +315,7 @@ pre_alternate(DECL_ARGS)
assert(nn->type == ROFFT_TEXT);
term_word(p, nn->string);
if (nn->flags & NODE_EOS)
- p->flags |= TERMP_SENTENCE;
+ p->flags |= TERMP_SENTENCE;
if (nn->next != NULL)
p->flags |= TERMP_NOSPACE;
}
diff --git a/mansearch.c b/mansearch.c
index 89601fde..b9d62267 100644
--- a/mansearch.c
+++ b/mansearch.c
@@ -191,7 +191,7 @@ mansearch(const struct mansearch *search,
mpage->file, R_OK) == -1) {
warn("%s", mpage->file);
warnx("outdated mandoc.db contains "
- "bogus %s entry, run makewhatis %s",
+ "bogus %s entry, run makewhatis %s",
page->file + 1, paths->paths[i]);
free(mpage->file);
free(rp);
diff --git a/mdoc_markdown.c b/mdoc_markdown.c
index 0687eeef..c41a3d47 100644
--- a/mdoc_markdown.c
+++ b/mdoc_markdown.c
@@ -1290,7 +1290,7 @@ md_post_It(struct roff_node *n)
while ((n = n->prev) != NULL && n->type != ROFFT_HEAD)
i++;
- /*
+ /*
* If a width was specified for this column,
* subtract what printed, and
* add the same spacing as in mdoc_term.c.
diff --git a/regress/regress.pl b/regress/regress.pl
index dd79eb0c..6c8e5755 100755
--- a/regress/regress.pl
+++ b/regress/regress.pl
@@ -424,7 +424,7 @@ if ($count_total == 1) {
print "\n";
} else {
print "No tests were run.\n";
-}
+}
if ($targets{clean}) {
if ($count_rm) {
print "Deleted $count_rm test output files.\n";
diff --git a/roff.c b/roff.c
index ebbede11..b2251ccd 100644
--- a/roff.c
+++ b/roff.c
@@ -783,7 +783,7 @@ roff_reset(struct roff *r)
void
roff_free(struct roff *r)
{
- int i;
+ int i;
roff_free1(r);
for (i = 0; i < r->mstacksz; i++)
@@ -1590,7 +1590,7 @@ char *
roff_getarg(struct roff *r, char **cpp, int ln, int *pos)
{
struct buf buf;
- char *cp, *start;
+ char *cp, *start;
int newesc, pairs, quoted, white;
/* Quoting can only start with a new word. */
diff --git a/tbl_term.c b/tbl_term.c
index ff482e4a..3cb12f16 100644
--- a/tbl_term.c
+++ b/tbl_term.c
@@ -164,7 +164,7 @@ term_tbl(struct termp *tp, const struct tbl_span *sp)
const struct tbl_cell *cp, *cpn, *cpp, *cps;
const struct tbl_dat *dp;
static size_t offset;
- size_t save_offset;
+ size_t save_offset;
size_t coloff, tsz;
int hspans, ic, more;
int dvert, fc, horiz, lhori, rhori, uvert;