summaryrefslogtreecommitdiff
path: root/libjava/include/posix.h
diff options
context:
space:
mode:
authormegacz <megacz@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-08 01:03:56 +0000
committermegacz <megacz@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-08 01:03:56 +0000
commitebd5b14bf7cdb68d2cd5710d7496598cde638d88 (patch)
tree5a6ecf62aa2257aff8b6a4fbbe492852b116c5d2 /libjava/include/posix.h
parent19338723537cb0ec25b3c8d3fac5f3f224b6bae0 (diff)
downloadgcc-ebd5b14bf7cdb68d2cd5710d7496598cde638d88.tar.gz
2002-03-07 Adam Megacz <adam@xwt.org>
* win32.cc (_Jv_platform_gettimeofday): Now takes no args, returns jlong. Added implementation * posix.cc (_Jv_platform_gettimeofday): Now takes no args, returns jlong. * win32.h (_Jv_platform_gettimeofday): Now takes no args, returns jlong. * posix.h (_Jv_platform_gettimeofday): Now takes no args, returns jlong. * java/lang/natSystem.cc (currentTimeMillis): Now uses updated _Jv_platform_gettimeofday signature. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50416 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include/posix.h')
-rw-r--r--libjava/include/posix.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/libjava/include/posix.h b/libjava/include/posix.h
index bbfb0b244e7..f96507405de 100644
--- a/libjava/include/posix.h
+++ b/libjava/include/posix.h
@@ -28,6 +28,13 @@ details. */
#include <unistd.h>
#endif
+#include <gcj/cni.h>
+
extern int _Jv_select (int n, fd_set *, fd_set *, fd_set *, struct timeval *);
-extern void _Jv_platform_gettimeofday (struct timeval *);
+extern jlong _Jv_platform_gettimeofday ();
extern void _Jv_platform_initialize (void);
+
+
+
+
+