aboutsummaryrefslogtreecommitdiffstats
path: root/gawkmisc.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-11-18 23:00:31 +0200
committerArnold D. Robbins <arnold@skeeve.com>2010-11-18 23:00:31 +0200
commit6f3612539c425da2bc1d34db621696e6a273b01c (patch)
tree9623b3ac2c54a93e5eed3be2b1dda7f4e4bf0e47 /gawkmisc.c
parent4e3701015635401df2fc4da58abaab7645f4ebd3 (diff)
downloadegawk-6f3612539c425da2bc1d34db621696e6a273b01c.tar.gz
egawk-6f3612539c425da2bc1d34db621696e6a273b01c.tar.bz2
egawk-6f3612539c425da2bc1d34db621696e6a273b01c.zip
Bring latest byte code gawk into git. Hurray!
Diffstat (limited to 'gawkmisc.c')
-rw-r--r--gawkmisc.c22
1 files changed, 4 insertions, 18 deletions
diff --git a/gawkmisc.c b/gawkmisc.c
index ed765e25..583e80a2 100644
--- a/gawkmisc.c
+++ b/gawkmisc.c
@@ -35,41 +35,27 @@
#ifdef __EMX__
#include "pc/gawkmisc.pc"
#else /* not __EMX__ */
-#if defined(MSDOS) || defined(OS2) || defined(WIN32)
+#if defined(OS2)
#include "gawkmisc.pc"
-#else /* not MSDOS, not OS2, not WIN32 */
+#else /* not OS2 */
#if defined(VMS)
#include "vms/gawkmisc.vms"
#else /* not VMS */
-#if defined(atarist)
-#include "unsupported/atari/gawkmisc.atr"
-#else /* not atarist */
-#if defined(TANDEM)
-#include "tmiscc"
-#else /* not TANDEM */
#include "posix/gawkmisc.c"
-#endif /* not TANDEM */
-#endif /* not atarist */
#endif /* not VMS */
-#endif /* not MSDOS, not OS2, not WIN32 */
+#endif /* not OS2 */
#endif /* not __EMX__ */
/* xmalloc --- provide this so that other GNU library routines work */
-#if __STDC__
typedef void *pointer;
-#else
-typedef char *pointer;
-#endif
-extern pointer xmalloc P((size_t bytes)); /* get rid of gcc warning */
+extern pointer xmalloc(size_t bytes); /* get rid of gcc warning */
pointer
xmalloc(size_t bytes)
{
pointer p;
-
emalloc(p, pointer, bytes, "xmalloc");
-
return p;
}