diff options
Diffstat (limited to 'compat/dlfcn.h')
-rw-r--r-- | compat/dlfcn.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/compat/dlfcn.h b/compat/dlfcn.h index 1a6a118..6940c2a 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,9 +26,7 @@ #ifndef __dlfcn_h__ #define __dlfcn_h__ -#ifndef _TCL -#include <tcl.h> -#endif +#include "tcl.h" #ifdef __cplusplus extern "C" { @@ -47,14 +44,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 } |