pa.c (hppa_profile_hook): Allocate stack space for register parameters.
[gcc.git] / libobjc / objc-foreach.c
index 83a91011d12cb979065e72ccec986722cf911c75..e26f82deb68dacb2100ff06dd1f13220ca939935 100644 (file)
@@ -1,5 +1,5 @@
 /* GNU Objective C Runtime 'fast enumeration' implementation
-   Copyright (C) 2010 Free Software Foundation, Inc.
+   Copyright (C) 2010-2016 Free Software Foundation, Inc.
    Contributed by Nicola Pero <nicola.pero@meta-innovation.com>
 
 This file is part of GCC.
@@ -22,19 +22,18 @@ a copy of the GCC Runtime Library Exception along with this program;
 see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 <http://www.gnu.org/licenses/>.  */
 
-/*
-  This file implements objc_enumeration_mutation() and
-  objc_set_enumeration_mutation_handler(), the two functions required
-  to handle mutations during a fast enumeration.
-*/
-#include "objc/runtime.h"           /* For objc_enumerationMutation() and objc_set_enumeration_mutation_handler() */
+/* This file implements objc_enumeration_mutation() and
+   objc_set_enumeration_mutation_handler(), the two functions required
+   to handle mutations during a fast enumeration.  */
+#include "objc-private/common.h"
 #include "objc-private/error.h"     /* For _objc_abort() */
+#include "objc/runtime.h"           /* For objc_enumerationMutation() and objc_set_enumeration_mutation_handler() */
 
 /* The enumeration mutation handler currently in use.  */
 static void (*__objc_enumeration_mutation_handler)(id) = NULL;
 
 void
-objc_set_enumeration_mutation_handler (void (*handler)(id))
+objc_setEnumerationMutationHandler (void (*handler)(id))
 {
   __objc_enumeration_mutation_handler = handler;
 }