aboutsummaryrefslogtreecommitdiff
path: root/libjava/include/posix.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2002-02-07 18:59:52 +0000
committerTom Tromey <tromey@gcc.gnu.org>2002-02-07 18:59:52 +0000
commit73272ce6089d2c44aee23abf515f7d8be808e51d (patch)
tree445027a01135cb59b020bba496158a0fc253ef73 /libjava/include/posix.h
parent225909c3c964ea743f202b7e52f3d381e11ab1ae (diff)
downloadgcc-73272ce6089d2c44aee23abf515f7d8be808e51d.zip
gcc-73272ce6089d2c44aee23abf515f7d8be808e51d.tar.gz
gcc-73272ce6089d2c44aee23abf515f7d8be808e51d.tar.bz2
prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
* prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize. * win32.cc (win32_exception_handler): Now static. * include/win32.h (_Jv_platform_initialize): Declare. (win32_exception_handler): Don't declare. * java/lang/natSystem.cc (currentTimeMillis): Use _Jv_platform_gettimeofday. * posix.cc (_Jv_platform_gettimeofday): Renamed. (_Jv_select): Use new name. (_Jv_platform_initialize): New function. * include/posix.h (_Jv_platform_gettimeofday): Renamed from _Jv_gettimeofday. (_Jv_platform_initialize): Declare. From-SVN: r49583
Diffstat (limited to 'libjava/include/posix.h')
-rw-r--r--libjava/include/posix.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libjava/include/posix.h b/libjava/include/posix.h
index e7ba317..bbfb0b2 100644
--- a/libjava/include/posix.h
+++ b/libjava/include/posix.h
@@ -1,6 +1,6 @@
// posix.h -- Helper functions for POSIX-flavored OSs.
-/* Copyright (C) 2000 Free Software Foundation
+/* Copyright (C) 2000, 2002 Free Software Foundation
This file is part of libgcj.
@@ -29,4 +29,5 @@ details. */
#endif
extern int _Jv_select (int n, fd_set *, fd_set *, fd_set *, struct timeval *);
-extern void _Jv_gettimeofday (struct timeval *);
+extern void _Jv_platform_gettimeofday (struct timeval *);
+extern void _Jv_platform_initialize (void);