projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Help GCC to do better code generation.
[gnulib.git]
/
lib
/
eealloc.h
diff --git
a/lib/eealloc.h
b/lib/eealloc.h
index
c81b16e
..
3dd7009
100644
(file)
--- a/
lib/eealloc.h
+++ b/
lib/eealloc.h
@@
-1,5
+1,5
@@
/* Memory allocation with expensive empty allocations.
/* Memory allocation with expensive empty allocations.
- Copyright (C) 2003 Free Software Foundation, Inc.
+ Copyright (C) 2003
, 2008
Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003,
based on prior work by Jim Meyering.
Written by Bruno Haible <bruno@clisp.org>, 2003,
based on prior work by Jim Meyering.
@@
-34,6
+34,9
@@
#if MALLOC_0_IS_NONNULL
# define eemalloc malloc
#else
#if MALLOC_0_IS_NONNULL
# define eemalloc malloc
#else
+# if __GNUC__ >= 3
+static inline void *eemalloc (size_t n) __attribute__ ((__malloc__));
+# endif
static inline void *
eemalloc (size_t n)
{
static inline void *
eemalloc (size_t n)
{