diff options
Diffstat (limited to 'malloc/malloc.h')
-rw-r--r-- | malloc/malloc.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/malloc/malloc.h b/malloc/malloc.h index 3a43f7cfdb..eb63afb6cb 100644 --- a/malloc/malloc.h +++ b/malloc/malloc.h @@ -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); |