diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2010-11-18 23:00:31 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2010-11-18 23:00:31 +0200 |
commit | 6f3612539c425da2bc1d34db621696e6a273b01c (patch) | |
tree | 9623b3ac2c54a93e5eed3be2b1dda7f4e4bf0e47 /gawkmisc.c | |
parent | 4e3701015635401df2fc4da58abaab7645f4ebd3 (diff) | |
download | egawk-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.c | 22 |
1 files changed, 4 insertions, 18 deletions
@@ -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; } |