This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[JAVA]: Remove obsolete function prototype



This is an obvious fix to remove an obsolete function prototype
from the java front-end.  The function "java_expand_switch" was
removed by this patch:

Thu Nov 12 14:15:07 1998  Per Bothner  <bothner@cygnus.com>
...
(java_expand_switch):  Removed - inlined into java_lang_expand_expr.
...


Tested by "make bootstrap" and "make check-gcc" on i686-pc-linux-gnu
with no regressions.


2001-11-18  Roger Sayle <roger@eyesopen.com>
	* parse.h: Remove old prototype for java_expand_switch.



diff -c3pr gcc/gcc/java/parse.h patch2/gcc/java/parse.h
*** gcc/gcc/java/parse.h	Thu Nov  8 08:38:10 2001
--- patch2/gcc/java/parse.h	Sun Nov 18 15:05:07 2001
*************** void java_fix_constructors PARAMS ((void
*** 924,930 ****
  void java_layout_classes PARAMS ((void));
  void java_reorder_fields PARAMS ((void));
  tree java_method_add_stmt PARAMS ((tree, tree));
- void java_expand_switch PARAMS ((tree));
  int java_report_errors PARAMS ((void));
  extern tree do_resolve_class PARAMS ((tree, tree, tree, tree));
  #endif
--- 924,929 ----


--
Roger Sayle,                         E-mail: roger@eyesopen.com
OpenEye Scientific Software,         WWW: http://www.eyesopen.com/
Suite 1107, 3600 Cerrillos Road,     Tel: (+1) 505-473-7385
Santa Fe, New Mexico, 87507.         Fax: (+1) 505-438-3470



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]