summaryrefslogtreecommitdiffstats
path: root/c/build-tools
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 /c/build-tools
parentCleaned up a bit. (diff)
downloadrtems-2936b425fd89f68302a0cb6094c8370795668872.tar.bz2
Solaris port updates from Chris Johns
Diffstat (limited to 'c/build-tools')
-rw-r--r--c/build-tools/eolstrip.c2
-rw-r--r--c/build-tools/packhex.c2
-rw-r--r--c/build-tools/src/eolstrip.c2
-rw-r--r--c/build-tools/src/packhex.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/c/build-tools/eolstrip.c b/c/build-tools/eolstrip.c
index d15151c8b0..467b352322 100644
--- a/c/build-tools/eolstrip.c
+++ b/c/build-tools/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/c/build-tools/packhex.c b/c/build-tools/packhex.c
index aa92761a91..9d19ce39e1 100644
--- a/c/build-tools/packhex.c
+++ b/c/build-tools/packhex.c
@@ -478,7 +478,7 @@ int main(
} while ( gets( inbuff ) != NULL );
- exit( EXIT_SUCCESS );
+ return ( EXIT_SUCCESS );
}
diff --git a/c/build-tools/src/eolstrip.c b/c/build-tools/src/eolstrip.c
index d15151c8b0..467b352322 100644
--- a/c/build-tools/src/eolstrip.c
+++ b/c/build-tools/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/c/build-tools/src/packhex.c b/c/build-tools/src/packhex.c
index aa92761a91..9d19ce39e1 100644
--- a/c/build-tools/src/packhex.c
+++ b/c/build-tools/src/packhex.c
@@ -478,7 +478,7 @@ int main(
} while ( gets( inbuff ) != NULL );
- exit( EXIT_SUCCESS );
+ return ( EXIT_SUCCESS );
}