mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-02 19:22:47 +00:00
Call isspace() directly to get rid of an objectionable include.
This commit is contained in:
parent
907b6f57b9
commit
b0576ff7e0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54117
@ -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';
|
||||
}
|
||||
|
@ -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';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user