projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This is the birth of mmh. :-)
[mmh]
/
sbr
/
trimcpy.c
diff --git
a/sbr/trimcpy.c
b/sbr/trimcpy.c
index
d135548
..
b640ea6
100644
(file)
--- a/
sbr/trimcpy.c
+++ b/
sbr/trimcpy.c
@@
-4,16
+4,18
@@
* -- replace internal whitespace with spaces,
* -- then return a copy.
*
* -- replace internal whitespace with spaces,
* -- then return a copy.
*
- * $Id$
+ * 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>
char *
*/
#include <h/mh.h>
char *
-trimcpy (char *cp)
+trimcpy (unsigned char *cp)
{
{
- char *sp;
+ unsigned char *sp;
/* skip over leading whitespace */
while (isspace(*cp))
/* skip over leading whitespace */
while (isspace(*cp))