coarray_43.f90: Add "-latomic" option if libatomic_available.
[gcc.git] / libobjc / objc-foreach.c
index a06a77ec8e536f7964f803300530b8a46d11a3e3..c9c0f0e5e29493681820cf12e17ca253820cae76 100644 (file)
@@ -1,5 +1,5 @@
 /* GNU Objective C Runtime 'fast enumeration' implementation
-   Copyright (C) 2010 Free Software Foundation, Inc.
+   Copyright (C) 2010-2017 Free Software Foundation, Inc.
    Contributed by Nicola Pero <nicola.pero@meta-innovation.com>
 
 This file is part of GCC.
@@ -22,11 +22,9 @@ 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.
-*/
+/* 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() */
@@ -35,7 +33,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 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;
 }