summaryrefslogtreecommitdiffstats
path: root/compat/dlfcn.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-12-26 09:55:45 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-12-26 09:55:45 (GMT)
commitd525cce307b002900a04c58a4adff1470f24202c (patch)
treeef71f64fd11d949c2d5d7d37c7014072db7daae3 /compat/dlfcn.h
parentcd8d5b5a18221b00c35aa76c901a50d7fa45bef8 (diff)
downloadtcl-d525cce307b002900a04c58a4adff1470f24202c.zip
tcl-d525cce307b002900a04c58a4adff1470f24202c.tar.gz
tcl-d525cce307b002900a04c58a4adff1470f24202c.tar.bz2
eliminate dependancy of compat/*.h on tcl.h
Diffstat (limited to 'compat/dlfcn.h')
-rw-r--r--compat/dlfcn.h19
1 files changed, 7 insertions, 12 deletions
diff --git a/compat/dlfcn.h b/compat/dlfcn.h
index 1a6a118..fb27ea0 100644
--- a/compat/dlfcn.h
+++ b/compat/dlfcn.h
@@ -1,4 +1,4 @@
-/*
+/*
* dlfcn.h --
*
* This file provides a replacement for the header file "dlfcn.h"
@@ -19,7 +19,6 @@
*/
/*
- * @(#)dlfcn.h 1.4 revision of 95/04/25 09:36:52
* This is an unpublished work copyright (c) 1992 HELIOS Software GmbH
* 30159 Hannover, Germany
*/
@@ -27,10 +26,6 @@
#ifndef __dlfcn_h__
#define __dlfcn_h__
-#ifndef _TCL
-#include <tcl.h>
-#endif
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -47,14 +42,14 @@ extern "C" {
* that contains functions to be called to initialize and terminate.
*/
struct dl_info {
- void (*init) _ANSI_ARGS_((void));
- void (*fini) _ANSI_ARGS_((void));
+ void (*init) (void);
+ void (*fini) (void);
};
-VOID *dlopen _ANSI_ARGS_((const char *path, int mode));
-VOID *dlsym _ANSI_ARGS_((void *handle, const char *symbol));
-char *dlerror _ANSI_ARGS_((void));
-int dlclose _ANSI_ARGS_((void *handle));
+void *dlopen (const char *path, int mode);
+void *dlsym (void *handle, const char *symbol);
+char *dlerror (void);
+int dlclose (void *handle);
#ifdef __cplusplus
}