projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test-sys_socket: mark variables as used more readably
[gnulib.git]
/
lib
/
xmalloca.c
diff --git
a/lib/xmalloca.c
b/lib/xmalloca.c
index
ad527cd
..
6848a9b
100644
(file)
--- a/
lib/xmalloca.c
+++ b/
lib/xmalloca.c
@@
-1,5
+1,5
@@
/* Safe automatic memory allocation with out of memory checking.
/* Safe automatic memory allocation with out of memory checking.
- Copyright (C) 2003, 2006-2007 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2006-2007
, 2009-2010
Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software: you can redistribute it and/or modify
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software: you can redistribute it and/or modify
@@
-22,6
+22,8
@@
#include "xalloc.h"
#include "xalloc.h"
+#if HAVE_ALLOCA
+
void *
xmmalloca (size_t n)
{
void *
xmmalloca (size_t n)
{
@@
-32,3
+34,5
@@
xmmalloca (size_t n)
xalloc_die ();
return p;
}
xalloc_die ();
return p;
}
+
+#endif