summaryrefslogtreecommitdiff
path: root/src/stdmem.h
diff options
context:
space:
mode:
authorMoritz Schulte <mo@g10code.com>2005-10-16 08:45:41 +0000
committerMoritz Schulte <mo@g10code.com>2005-10-16 08:45:41 +0000
commit66721a14e67327727531f62c2881529a0d4d8bbc (patch)
tree3ae14b1b112955689bb273fd8cbf32db06449cdb /src/stdmem.h
parent92561cf910b42d7902fabd635c0840bd1f565d6f (diff)
downloadlibgcrypt-66721a14e67327727531f62c2881529a0d4d8bbc.tar.gz
2005-10-16 Moritz Schulte <moritz@g10code.com>
* g10lib.h: Removed GCC_ATTR_PURE macro definitions, since gcrypt.h does already contain such a macro named _GCRY_GCC_ATTR_PURE, which we can use here as well. Likewise for GCC_ATTR_MALLOC and _GCRY_GCC_ATTR_MALLOC. * stdmem.h: Use _GCRY_GCC_ATTR_MALLOC instead of GCC_ATTR_MALLOC. * secmem.h: Likewise.
Diffstat (limited to 'src/stdmem.h')
-rw-r--r--src/stdmem.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/stdmem.h b/src/stdmem.h
index cf83f68b..b476e7e5 100644
--- a/src/stdmem.h
+++ b/src/stdmem.h
@@ -1,5 +1,5 @@
/* stdmem.h - internal definitions for stdmem
- * Copyright (C) 2000, 2002 Free Software Foundation, Inc.
+ * Copyright (C) 2000, 2002, 2005 Free Software Foundation, Inc.
*
* This file is part of Libgcrypt.
*
@@ -23,8 +23,8 @@
void _gcry_private_enable_m_guard(void);
-void *_gcry_private_malloc (size_t n) GCC_ATTR_MALLOC;
-void *_gcry_private_malloc_secure (size_t n) GCC_ATTR_MALLOC;
+void *_gcry_private_malloc (size_t n) _GCRY_GCC_ATTR_MALLOC;
+void *_gcry_private_malloc_secure (size_t n) _GCRY_GCC_ATTR_MALLOC;
void *_gcry_private_realloc (void *a, size_t n);
void _gcry_private_check_heap (const void *a);
void _gcry_private_free (void *a);