OSDN Git Service

2010-04-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / stub-objc.c
index f889bb9..b7748f7 100644 (file)
@@ -1,14 +1,14 @@
 /* Stub functions for Objective-C and Objective-C++ routines
    that are called from within the C and C++ front-ends,
    respectively.
 /* Stub functions for Objective-C and Objective-C++ routines
    that are called from within the C and C++ front-ends,
    respectively.
-   Copyright (C) 1991, 1995, 1997, 1998,
-   1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1991, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
+   2004, 2005, 2007, 2009 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
 GCC is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
 
 This file is part of GCC.
 
 GCC is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
-Software Foundation; either version 2, or (at your option) any later
+Software Foundation; either version 3, or (at your option) any later
 version.
 
 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
 version.
 
 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
@@ -17,9 +17,8 @@ FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 for more details.
 
 You should have received a copy of the GNU General Public License
 for more details.
 
 You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING.  If not, write to the Free
-Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.  */
+along with GCC; see the file COPYING3.  If not see
+<http://www.gnu.org/licenses/>.  */
 
 #include "config.h"
 #include "system.h"
 
 #include "config.h"
 #include "system.h"
@@ -56,7 +55,7 @@ void
 objc_check_decl (tree ARG_UNUSED (decl))
 {
 }
 objc_check_decl (tree ARG_UNUSED (decl))
 {
 }
-   
+
 int
 objc_is_reserved_word (tree ARG_UNUSED (ident))
 {
 int
 objc_is_reserved_word (tree ARG_UNUSED (ident))
 {
@@ -82,14 +81,14 @@ objc_type_quals_match (tree ARG_UNUSED (ltyp), tree ARG_UNUSED (rtyp))
 }
 
 tree
 }
 
 tree
-objc_rewrite_function_call (tree function, tree ARG_UNUSED (params))
+objc_rewrite_function_call (tree function, tree ARG_UNUSED (first_param))
 {
   return function;
 }
 
 tree
 objc_message_selector (void)
 {
   return function;
 }
 
 tree
 objc_message_selector (void)
-{ 
+{
   return 0;
 }
 
   return 0;
 }
 
@@ -197,7 +196,7 @@ objc_finish_method_definition (tree ARG_UNUSED (fndecl))
 
 tree
 objc_build_keyword_decl (tree ARG_UNUSED (selector),
 
 tree
 objc_build_keyword_decl (tree ARG_UNUSED (selector),
-                        tree ARG_UNUSED (typename),
+                        tree ARG_UNUSED (type),
                         tree ARG_UNUSED (identifier))
 {
   return 0;
                         tree ARG_UNUSED (identifier))
 {
   return 0;
@@ -225,7 +224,7 @@ objc_build_protocol_expr (tree ARG_UNUSED (expr))
 }
 
 tree
 }
 
 tree
-objc_build_selector_expr (tree ARG_UNUSED (expr))
+objc_build_selector_expr (location_t ARG_UNUSED (loc), tree ARG_UNUSED (expr))
 {
   return 0;
 }
 {
   return 0;
 }
@@ -280,7 +279,7 @@ objc_get_class_ivars (tree ARG_UNUSED (name))
 }
 
 tree
 }
 
 tree
-objc_build_throw_stmt (tree ARG_UNUSED (expr))
+objc_build_throw_stmt (location_t ARG_UNUSED (loc), tree ARG_UNUSED (expr))
 {
   return 0;
 }
 {
   return 0;
 }
@@ -296,7 +295,7 @@ void
 objc_begin_try_stmt (location_t ARG_UNUSED (try_locus), tree ARG_UNUSED (body))
 {
 }
 objc_begin_try_stmt (location_t ARG_UNUSED (try_locus), tree ARG_UNUSED (body))
 {
 }
-   
+
 void
 objc_begin_catch_clause (tree ARG_UNUSED (decl))
 {
 void
 objc_begin_catch_clause (tree ARG_UNUSED (decl))
 {
@@ -325,4 +324,4 @@ objc_generate_write_barrier (tree ARG_UNUSED (lhs),
                             tree ARG_UNUSED (rhs))
 {
   return 0;
                             tree ARG_UNUSED (rhs))
 {
   return 0;
-}  
+}