diff options
author | Mark Wielaard <mark@klomp.org> | 2007-04-12 14:17:45 +0000 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2007-04-12 14:17:45 +0000 |
commit | 6d918877c49c1f0901557545d59f3c16bbb73ba2 (patch) | |
tree | 879070bfe480e1610dcb2f23a1c880d28d40f0c4 | |
parent | 03e404f03bbbb8cf7e0df7c7e2f9f0d4006f1e12 (diff) | |
download | classpath-6d918877c49c1f0901557545d59f3c16bbb73ba2.tar.gz |
2007-04-11 Christian Thalinger <twisti@complang.tuwien.ac.at>
* native/jni/native-lib/cpproc.c (cpproc_forkAndExec): Fixed
warning on some compilers, e.g. MIPSpro.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | native/jni/native-lib/cpproc.c | 4 |
2 files changed, 9 insertions, 0 deletions
@@ -1,5 +1,10 @@ 2007-04-11 Christian Thalinger <twisti@complang.tuwien.ac.at> + * native/jni/native-lib/cpproc.c (cpproc_forkAndExec): Fixed + warning on some compilers, e.g. MIPSpro. + +2007-04-11 Christian Thalinger <twisti@complang.tuwien.ac.at> + * native/jni/java-nio/javanio.c: Include fcntl.h instead of sys/fcntl.h. diff --git a/native/jni/native-lib/cpproc.c b/native/jni/native-lib/cpproc.c index b6e9030b5..bb34f6d6e 100644 --- a/native/jni/native-lib/cpproc.c +++ b/native/jni/native-lib/cpproc.c @@ -114,6 +114,10 @@ int cpproc_forkAndExec (char * const *commandLine, char * const * newEnviron, *out_pid = pid; return 0; } + + /* keep compiler happy */ + + return 0; } int cpproc_waitpid (pid_t pid, int *status, pid_t *outpid, int options) |