summaryrefslogtreecommitdiffstats
path: root/tools/build
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-01-23 17:45:05 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-01-23 17:45:05 +0000
commit2936b425fd89f68302a0cb6094c8370795668872 (patch)
tree48b8c187a4bf8586782a18e8510dad03cf511198 /tools/build
parent48971e5ed0ace208018b3adf8807118157b3c40d (diff)
downloadrtems-2936b425fd89f68302a0cb6094c8370795668872.tar.bz2
Solaris port updates from Chris Johns
Diffstat (limited to 'tools/build')
-rw-r--r--tools/build/eolstrip.c2
-rw-r--r--tools/build/packhex.c2
-rw-r--r--tools/build/src/eolstrip.c2
-rw-r--r--tools/build/src/packhex.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/tools/build/eolstrip.c b/tools/build/eolstrip.c
index d15151c8b0..467b352322 100644
--- a/tools/build/eolstrip.c
+++ b/tools/build/eolstrip.c
@@ -197,7 +197,7 @@ process(char *arg)
if ( buffer[ length ] != '\n' )
error(ERR_ERRNO|ERR_FATAL, "Line %d too long in %s\n", line_number, arg);
- while ( isspace( buffer[ length ] ) )
+ while ( isspace( (int) buffer[ length ] ) )
buffer[ length-- ] = '\0';
if ( test_only ) {
diff --git a/tools/build/packhex.c b/tools/build/packhex.c
index aa92761a91..9d19ce39e1 100644
--- a/tools/build/packhex.c
+++ b/tools/build/packhex.c
@@ -478,7 +478,7 @@ int main(
} while ( gets( inbuff ) != NULL );
- exit( EXIT_SUCCESS );
+ return ( EXIT_SUCCESS );
}
diff --git a/tools/build/src/eolstrip.c b/tools/build/src/eolstrip.c
index d15151c8b0..467b352322 100644
--- a/tools/build/src/eolstrip.c
+++ b/tools/build/src/eolstrip.c
@@ -197,7 +197,7 @@ process(char *arg)
if ( buffer[ length ] != '\n' )
error(ERR_ERRNO|ERR_FATAL, "Line %d too long in %s\n", line_number, arg);
- while ( isspace( buffer[ length ] ) )
+ while ( isspace( (int) buffer[ length ] ) )
buffer[ length-- ] = '\0';
if ( test_only ) {
diff --git a/tools/build/src/packhex.c b/tools/build/src/packhex.c
index aa92761a91..9d19ce39e1 100644
--- a/tools/build/src/packhex.c
+++ b/tools/build/src/packhex.c
@@ -478,7 +478,7 @@ int main(
} while ( gets( inbuff ) != NULL );
- exit( EXIT_SUCCESS );
+ return ( EXIT_SUCCESS );
}