aboutsummaryrefslogtreecommitdiffstats
path: root/gawkmisc.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-06-27 06:15:12 +0300
committerArnold D. Robbins <arnold@skeeve.com>2017-06-27 06:15:12 +0300
commit483a1d122f228518851a6f8ba0a79870e5ecee4a (patch)
tree67aeec2b34f45d29db70a9099694edbf6f1b8440 /gawkmisc.c
parent5ea4224acd6effc77359d42436de4804b86f1112 (diff)
parent6927f0de4c06b60fbb74ea85e0d50f6d4a5f500b (diff)
downloadegawk-483a1d122f228518851a6f8ba0a79870e5ecee4a.tar.gz
egawk-483a1d122f228518851a6f8ba0a79870e5ecee4a.tar.bz2
egawk-483a1d122f228518851a6f8ba0a79870e5ecee4a.zip
Merge branch 'master' into feature/fix-comments
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;
-}