This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[patch] mark native_text_layout_state_table extern
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: Java Patches <java-patches at gcc dot gnu dot org>
- Date: Sat, 09 Oct 2004 21:03:27 +0200
- Subject: [patch] mark native_text_layout_state_table extern
Hi all,
I commit the following patch to gui branch.
I need it since I have multiple defined on darwin. tested on darwin and
ppc linux.
Spoke about with graydon, he ok'ed.
Andreas
2004-10-09 Andreas Tobler <a.tobler@schweiz.ch>
* jni/gtk-peer/gdkfont.h: Mark native_text_layout_state_table extern.
Index: jni/gtk-peer/gdkfont.h
===================================================================
RCS file: /cvs/gcc/gcc/libjava/jni/gtk-peer/gdkfont.h,v
retrieving revision 1.2.14.1
diff -u -r1.2.14.1 gdkfont.h
--- jni/gtk-peer/gdkfont.h 4 Oct 2004 16:45:49 -0000 1.2.14.1
+++ jni/gtk-peer/gdkfont.h 9 Oct 2004 19:01:05 -0000
@@ -47,7 +47,7 @@
extern struct state_table *native_font_state_table;
extern struct state_table *native_glyphvector_state_table;
-struct state_table *native_text_layout_state_table;
+extern struct state_table *native_text_layout_state_table;
#define NSA_FONT_INIT(env, clazz) \
native_font_state_table = init_state_table (env, clazz)