/*
- * trimcpy.c -- strip leading and trailing whitespace,
- * -- replace internal whitespace with spaces,
- * -- then return a copy.
- *
- * This code is Copyright (c) 2002, by the authors of nmh. See the
- * COPYRIGHT file in the root directory of the nmh distribution for
- * complete copyright information.
- */
+** trimcpy.c -- strip leading and trailing whitespace,
+** -- replace internal whitespace with spaces,
+** -- then return a copy.
+**
+** This code is Copyright (c) 2002, by the authors of nmh. See the
+** COPYRIGHT file in the root directory of the nmh distribution for
+** complete copyright information.
+*/
#include <h/mh.h>
+#include <ctype.h>
char *
-trimcpy (unsigned char *cp)
+trimcpy(unsigned char *cp)
{
unsigned char *sp;