X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/177f020f122827214159c46dcfe7ded1e3c8d1c3..b22bcbc2adddca14cc1889b1eee37643e0b88489:/sbr/trimcpy.c diff --git a/sbr/trimcpy.c b/sbr/trimcpy.c index 625c26c0..09b6ec34 100644 --- a/sbr/trimcpy.c +++ b/sbr/trimcpy.c @@ -7,8 +7,9 @@ * complete copyright information. */ -#include -#include +#include "h/mh.h" +#include "trimcpy.h" +#include "h/utils.h" char * @@ -49,7 +50,8 @@ trimcpy (char *cp) * complete copyright information. */ char * -cpytrim (const char *sp) { +cpytrim (const char *sp) +{ char *dp; char *cp; @@ -81,7 +83,8 @@ cpytrim (const char *sp) { * complete copyright information. */ char * -rtrim (char *sp) { +rtrim (char *sp) +{ char *cp; /* start at the end and zap trailing whitespace */