summaryrefslogtreecommitdiffstats
path: root/unix/tclLoadAix.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/tclLoadAix.c')
-rw-r--r--unix/tclLoadAix.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/unix/tclLoadAix.c b/unix/tclLoadAix.c
index f093896..88e6b50 100644
--- a/unix/tclLoadAix.c
+++ b/unix/tclLoadAix.c
@@ -17,8 +17,6 @@
* for any results of using the software, alterations are clearly marked
* as such, and this notice is not modified.
*
- * RCS: @(#) $Id: tclLoadAix.c,v 1.5 2005/11/11 23:46:34 dkf Exp $
- *
* Note: this file has been altered from the original in a few ways in order
* to work properly with Tcl.
*/
@@ -213,7 +211,7 @@ dlopen(
if (mp->info = (struct dl_info *)dlsym(mp, "dl_info")) {
if (mp->info->init) {
- (*mp->info->init)();
+ mp->info->init();
}
} else {
errvalid = 0;
@@ -226,7 +224,7 @@ dlopen(
if (mp->cdtors = (CdtorPtr) dlsym(mp, "__cdtors")) {
while (mp->cdtors->init) {
- (*mp->cdtors->init)();
+ mp->cdtors->init();
mp->cdtors++;
}
} else {
@@ -316,7 +314,8 @@ dlerror(void)
}
int
-dlclose(void *handle)
+dlclose(
+ void *handle)
{
register ModulePtr mp = (ModulePtr)handle;
int result;
@@ -327,12 +326,12 @@ dlclose(void *handle)
}
if (mp->info && mp->info->fini) {
- (*mp->info->fini)();
+ mp->info->fini();
}
if (mp->cdtors) {
while (mp->cdtors->term) {
- (*mp->cdtors->term)();
+ mp->cdtors->term();
mp->cdtors++;
}
}