Ignore:
Timestamp:
Dec 3, 2004, 8:00:05 AM (21 years ago)
Author:
bird
Message:

imported FreeBSD 5.3 code and broke stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/dlfcn.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r1696 r1697  
    2424#define _DLFCN_H_
    2525
     26#include <sys/cdefs.h>
    2627
    27 /*******************************************************************************
    28 *   Defined Constants And Macros                                               *
    29 *******************************************************************************/
     28
    3029/** @name dlopen flags
    3130 * @{ */
     
    4443/** @} */
    4544
    46 #ifdef __cplusplus
    47 extern "C" {
    48 #endif
     45__BEGIN_DECLS
    4946
    5047void *          dlopen(const char * pszLibrary, int flFlags);
     
    5350int             dlclose(void *pvHandle);
    5451
    55 #ifdef __cplusplus
    56 }
     52#if __BSD_VISIBLE
     53struct __dlfunc_arg
     54{
     55    int         __dlfunc_dummy;
     56};
     57typedef void (*dlfunc_t)(struct __dlfunc_arg);
     58dlfunc_t        dlfunc(void * __restrict, const char * __restrict);
    5759#endif
     60
     61__END_DECLS
    5862
    5963#endif
Note: See TracChangeset for help on using the changeset viewer.