aboutsummaryrefslogtreecommitdiffstats
path: root/ext.c
diff options
context:
space:
mode:
authorAndrew J. Schorr <aschorr@telemetry-investments.com>2012-06-24 18:43:49 -0400
committerAndrew J. Schorr <aschorr@telemetry-investments.com>2012-06-24 18:43:49 -0400
commit6139211362667682c3022a72321e0cd8945b6592 (patch)
tree89c416965651a0d24204ce0633aa82a182c96203 /ext.c
parent37cd3566b9b74c43d5f11f1cba8dec147a25e474 (diff)
downloadegawk-6139211362667682c3022a72321e0cd8945b6592.tar.gz
egawk-6139211362667682c3022a72321e0cd8945b6592.tar.bz2
egawk-6139211362667682c3022a72321e0cd8945b6592.zip
Hide private parts of IOBUF from extensions.
Diffstat (limited to 'ext.c')
-rw-r--r--ext.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext.c b/ext.c
index 0b87def9..14d55c5f 100644
--- a/ext.c
+++ b/ext.c
@@ -66,12 +66,9 @@ load_ext(const char *lib_name)
fatal(_("load_ext: library `%s': cannot call function `%s' (%s)\n"),
lib_name, INIT_FUNC, dlerror());
- if (install_func(& api_impl, NULL /* ext_id */) == 0) {
+ if (install_func(& api_impl, NULL /* ext_id */) == 0)
warning(_("load_ext: library `%s' initialization routine `%s' failed\n"),
lib_name, INIT_FUNC);
- return;
- }
- return;
}