aboutsummaryrefslogtreecommitdiffstats
path: root/gawkmisc.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-06-27 06:14:43 +0300
committerArnold D. Robbins <arnold@skeeve.com>2017-06-27 06:14:43 +0300
commit09ae00a76b925945cffff657b02e69117a68b39e (patch)
treece99064e7a31a553a2a6d5b7083518a4561e7c08 /gawkmisc.c
parent454efb85895d4194da67e0dcc244a54bcc9a1964 (diff)
parent6927f0de4c06b60fbb74ea85e0d50f6d4a5f500b (diff)
downloadegawk-09ae00a76b925945cffff657b02e69117a68b39e.tar.gz
egawk-09ae00a76b925945cffff657b02e69117a68b39e.tar.bz2
egawk-09ae00a76b925945cffff657b02e69117a68b39e.zip
Merge branch 'master' into feature/api-mpfr
Diffstat (limited to 'gawkmisc.c')
-rw-r--r--gawkmisc.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gawkmisc.c b/gawkmisc.c
index f1658921..bef4f365 100644
--- a/gawkmisc.c
+++ b/gawkmisc.c
@@ -41,19 +41,3 @@
#include "posix/gawkmisc.c"
#endif /* not VMS */
#endif /* not __DJGPP__, not __MINGW32__ */
-
-/* xmalloc --- provide this so that other GNU library routines work */
-
-typedef void *pointer;
-
-extern pointer xmalloc(size_t bytes); /* get rid of gcc warning */
-
-pointer
-xmalloc(size_t bytes)
-{
- pointer p;
- if (bytes == 0)
- bytes = 1; /* avoid dfa.c mishegos */
- emalloc(p, pointer, bytes, "xmalloc");
- return p;
-}