aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-07-31 14:14:32 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-07-31 14:14:32 +0000
commitcc2cad965d93b5b4e4c39081cee0bafd04a0ff0e (patch)
tree3f3cc8565318007b4f3d61ce1e16f3a14f03b9c5 /fetchmail.h
parentf194002467938d3f4d4cc6ff4dc4fe442d4aba11 (diff)
downloadfetchmail-cc2cad965d93b5b4e4c39081cee0bafd04a0ff0e.tar.gz
fetchmail-cc2cad965d93b5b4e4c39081cee0bafd04a0ff0e.tar.bz2
fetchmail-cc2cad965d93b5b4e4c39081cee0bafd04a0ff0e.zip
Get rid of alloca() in fetchmail.
svn path=/trunk/; revision=4209
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/fetchmail.h b/fetchmail.h
index 89d8e608..eede713a 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -605,22 +605,6 @@ XMALLOCTYPE *xmalloc(size_t);
XMALLOCTYPE *xrealloc(/*@null@*/ XMALLOCTYPE *, size_t);
#define xfree(p) { if (p) { free(p); } (p) = 0; }
char *xstrdup(const char *);
-#if defined(HAVE_ALLOCA_H)
-#include <alloca.h>
-#else
-#ifdef _AIX
-#pragma alloca
-#endif
-#endif
-#define xalloca(ptr, t, n) if (!(ptr = (t) alloca(n)))\
- {report(stderr, GT_("alloca failed")); exit(PS_UNDEFINED);}
-#if 0
-/*
- * This is a hack to help xgettext which cannot find strings in
- * macro definitions like the one for xalloca above.
- */
-static char *dummy = gettext_noop("alloca failed");
-#endif
/* protocol driver and methods */
int doPOP2 (struct query *);