Remove pre-ISO C support
[platform/upstream/linaro-glibc.git] / malloc / malloc.h
index 3a43f7c..eb63afb 100644 (file)
@@ -1,5 +1,5 @@
 /* Prototypes and definition for malloc implementation.
-   Copyright (C) 1996, 1997, 1999, 2000, 2002-2004, 2005, 2007, 2009, 2011
+   Copyright (C) 1996,1997,1999,2000,2002-2004,2005,2007,2009,2011,2012
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -41,7 +41,7 @@
 #  define __MALLOC_HOOK_VOLATILE
 #  define __MALLOC_DEPRECATED
 # else
-#  define __MALLOC_HOOK_VOLATILE __volatile
+#  define __MALLOC_HOOK_VOLATILE volatile
 #  define __MALLOC_DEPRECATED __attribute_deprecated__
 # endif
 
@@ -171,18 +171,18 @@ extern void (*__MALLOC_HOOK_VOLATILE __malloc_initialize_hook) (void)
      __MALLOC_DEPRECATED;
 /* Hooks for debugging and user-defined versions. */
 extern void (*__MALLOC_HOOK_VOLATILE __free_hook) (void *__ptr,
-                                                  __const __malloc_ptr_t)
+                                                  const __malloc_ptr_t)
      __MALLOC_DEPRECATED;
 extern void *(*__MALLOC_HOOK_VOLATILE __malloc_hook) (size_t __size,
-                                                     __const __malloc_ptr_t)
+                                                     const __malloc_ptr_t)
      __MALLOC_DEPRECATED;
 extern void *(*__MALLOC_HOOK_VOLATILE __realloc_hook) (void *__ptr,
                                                       size_t __size,
-                                                      __const __malloc_ptr_t)
+                                                      const __malloc_ptr_t)
      __MALLOC_DEPRECATED;
 extern void *(*__MALLOC_HOOK_VOLATILE __memalign_hook) (size_t __alignment,
                                                        size_t __size,
-                                                       __const __malloc_ptr_t)
+                                                       const __malloc_ptr_t)
      __MALLOC_DEPRECATED;
 extern void (*__MALLOC_HOOK_VOLATILE __after_morecore_hook) (void);