Call isspace() directly to get rid of an objectionable include.

This commit is contained in:
David E. O'Brien 1999-12-04 08:44:05 +00:00
parent 907b6f57b9
commit b0576ff7e0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54117
2 changed files with 4 additions and 6 deletions

View File

@ -23,7 +23,6 @@
# include <config.h>
#endif
#include "cvs.h"
#include "../diff/system.h"
#include "prepend_args.h"
@ -44,7 +43,7 @@ prepend_args (options, buf, argv)
for (;;)
{
while (ISSPACE ((unsigned char) *o))
while (isspace ((unsigned char) *o))
o++;
if (!*o)
return n;
@ -55,7 +54,7 @@ prepend_args (options, buf, argv)
do
if ((*b++ = *o++) == '\\' && *o)
b[-1] = *o++;
while (*o && ! ISSPACE ((unsigned char) *o));
while (*o && ! isspace ((unsigned char) *o));
*b++ = '\0';
}

View File

@ -23,7 +23,6 @@
# include <config.h>
#endif
#include "cvs.h"
#include "../diff/system.h"
#include "prepend_args.h"
@ -44,7 +43,7 @@ prepend_args (options, buf, argv)
for (;;)
{
while (ISSPACE ((unsigned char) *o))
while (isspace ((unsigned char) *o))
o++;
if (!*o)
return n;
@ -55,7 +54,7 @@ prepend_args (options, buf, argv)
do
if ((*b++ = *o++) == '\\' && *o)
b[-1] = *o++;
while (*o && ! ISSPACE ((unsigned char) *o));
while (*o && ! isspace ((unsigned char) *o));
*b++ = '\0';
}