* doc/autoconf.texi (Particular Functions): Don't redeclare alloca
on FreeBSD.
* THANKS: Update.
Reported by Giorgos Keramidas.
Signed-off-by: Eric Blake <eblake@redhat.com>
2010-09-08 Eric Blake <eblake@redhat.com>
+ docs: update alloca recommendations
+ * doc/autoconf.texi (Particular Functions): Don't redeclare alloca
+ on FreeBSD.
+ * THANKS: Update.
+ Reported by Giorgos Keramidas.
+
docs: link to GNU Coding Standards in intro
* doc/autoconf.texi (Introduction): Actually link to the
standards. Make other references consistent.
Geir Ove Myhr myhr@stud.fim.ntnu.no
Gerrit P. Haase gp@familiehaase.de
Gideon Go gideon.go@gmail.com
+Giorgos Keramidas gkeramidas@gmail.com
Giuseppe Guerrini guisguerrini@racine.ra.it
Glenn P. Davis davis@unidata.ucar.edu
Godmar Back gback@cs.utah.edu
@example
@group
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+# include <stddef.h>
+#else
+# ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+# endif
+#endif
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# include <malloc.h>
# define alloca _alloca
#else
-# include <stddef.h>
-# ifdef __cplusplus
+# ifndef HAVE_ALLOCA
+# ifdef __cplusplus
extern "C"
-# endif
+# endif
void *alloca (size_t);
+# endif
#endif
@end group
@end example