diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-03-22 22:10:13 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-03-22 22:10:13 +0200 |
commit | c7f51459f7da3e0c693f8a950726869d99e5bcf2 (patch) | |
tree | 2e4b54cc695adc5b4fdaec56e237250c030a5419 /ext.c | |
parent | 1e495ca269aa2653bf804088ebe532b67110a3ef (diff) | |
parent | b467a6d3d604723e0c152dceb09e998c059bfa40 (diff) | |
download | egawk-c7f51459f7da3e0c693f8a950726869d99e5bcf2.tar.gz egawk-c7f51459f7da3e0c693f8a950726869d99e5bcf2.tar.bz2 egawk-c7f51459f7da3e0c693f8a950726869d99e5bcf2.zip |
Merge branch 'gawk-4.0-stable'
Diffstat (limited to 'ext.c')
-rw-r--r-- | ext.c | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -33,12 +33,8 @@ #include <dlfcn.h> -#ifdef __GNUC__ -static unsigned long long dummy; /* fake out gcc for dynamic loading? */ -#endif - /* do_ext --- load an extension at run-time: interface to load_ext */ - + NODE * do_ext(int nargs) { @@ -70,12 +66,6 @@ load_ext(const char *lib_name, const char *init_func, NODE *obj) int flags = RTLD_LAZY; int *gpl_compat; -#ifdef __GNUC__ - AWKNUM junk; - - junk = (AWKNUM) dummy; -#endif - if (do_sandbox) fatal(_("extensions are not allowed in sandbox mode")); |