Changeset 21727


Ignore:
Timestamp:
Oct 21, 2011, 4:35:07 PM (13 years ago)
Author:
dmik
Message:

Get rid of DLLENTRYPOINT_CCONV and DLLENTRYPOINT_NAME.

Location:
branches/gcc-kmk
Files:
23 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified branches/gcc-kmk/include/initdll.h

    r21654 r21727  
    33
    44#if (defined(__IBMCPP__) || defined(__IBMC__) || defined(__INNOTEK_LIBC__))
    5 
    6 #define DLLENTRYPOINT_CCONV SYSTEM
    7 #define DLLENTRYPOINT_NAME  _DLL_InitTerm
    85
    96#ifdef __cplusplus
     
    5754#elif defined(__WATCOMC__)
    5855
    59 #define DLLENTRYPOINT_CCONV APIENTRY
    60 #define DLLENTRYPOINT_NAME  LibMain
     56#define _DLL_InitTerm LibMain
    6157
    6258#define ctordtorInit()
  • TabularUnified branches/gcc-kmk/src/crypt32/initterm.cpp

    r21311 r21727  
    4848/* calling this function.                                                   */
    4949/****************************************************************************/
    50 ULONG DLLENTRYPOINT_CCONV DLLENTRYPOINT_NAME(ULONG hModule, ULONG ulFlag)
     50ULONG SYSTEM _DLL_InitTerm(ULONG hModule, ULONG ulFlag)
    5151{
    5252   size_t i;
  • TabularUnified branches/gcc-kmk/src/custombuild/initterm.cpp

    r21581 r21727  
    7070/* calling this function.                                                   */
    7171/****************************************************************************/
    72 ULONG DLLENTRYPOINT_CCONV DLLENTRYPOINT_NAME(ULONG hModule, ULONG ulFlag)
     72ULONG SYSTEM _DLL_InitTerm(ULONG hModule, ULONG ulFlag)
    7373{
    7474   size_t i;
  • TabularUnified branches/gcc-kmk/src/dllentry/dllentry.cpp

    r6917 r21727  
    7878/* calling this function.                                                   */
    7979/****************************************************************************/
    80 ULONG DLLENTRYPOINT_CCONV DLLENTRYPOINT_NAME(ULONG hModule, ULONG ulFlag)
     80ULONG SYSTEM _DLL_InitTerm(ULONG hModule, ULONG ulFlag)
    8181{
    8282   /*-------------------------------------------------------------------------*/
  • TabularUnified branches/gcc-kmk/src/dsound/initterm.cpp

    r9232 r21727  
    4343/* calling this function.                                                   */
    4444/****************************************************************************/
    45 ULONG DLLENTRYPOINT_CCONV DLLENTRYPOINT_NAME(ULONG hModule, ULONG ulFlag)
     45ULONG SYSTEM _DLL_InitTerm(ULONG hModule, ULONG ulFlag)
    4646{
    4747
  • TabularUnified branches/gcc-kmk/src/gdi32/initterm.cpp

    r8934 r21727  
    5959/* calling this function.                                                   */
    6060/****************************************************************************/
    61 ULONG DLLENTRYPOINT_CCONV DLLENTRYPOINT_NAME(ULONG hModule, ULONG ulFlag)
     61ULONG SYSTEM _DLL_InitTerm(ULONG hModule, ULONG ulFlag)
    6262{
    6363   size_t i;
  • TabularUnified branches/gcc-kmk/src/imm32/initterm.cpp

    r10605 r21727  
    5555/* calling this function.                                                   */
    5656/****************************************************************************/
    57 ULONG DLLENTRYPOINT_CCONV DLLENTRYPOINT_NAME(ULONG hModule, ULONG ulFlag)
     57ULONG SYSTEM _DLL_InitTerm(ULONG hModule, ULONG ulFlag)
    5858{
    5959   size_t i;
  • TabularUnified branches/gcc-kmk/src/kernel32/initterm.cpp

    r21716 r21727  
    8383/* calling this function.                                                   */
    8484/****************************************************************************/
    85 ULONG DLLENTRYPOINT_CCONV DLLENTRYPOINT_NAME(ULONG hModule, ULONG ulFlag)
     85ULONG SYSTEM _DLL_InitTerm(ULONG hModule, ULONG ulFlag)
    8686{
    8787    size_t i;
     
    166166
    167167            if (DosQueryModuleHandleStrict("KERNEL32", &hModule) == NO_ERROR)
    168                 return DLLENTRYPOINT_NAME(hModule, 0);
     168                return _DLL_InitTerm(hModule, 0);
    169169            else
    170170                ReportFatalDllInitError("KERNEL32");
  • TabularUnified branches/gcc-kmk/src/mscms/initterm.cpp

    r21311 r21727  
    4848/* calling this function.                                                   */
    4949/****************************************************************************/
    50 ULONG DLLENTRYPOINT_CCONV DLLENTRYPOINT_NAME(ULONG hModule, ULONG ulFlag)
     50ULONG SYSTEM _DLL_InitTerm(ULONG hModule, ULONG ulFlag)
    5151{
    5252   size_t i;
  • TabularUnified branches/gcc-kmk/src/oleacc/initterm.cpp

    r21313 r21727  
    4646/* calling this function.                                                   */
    4747/****************************************************************************/
    48 ULONG DLLENTRYPOINT_CCONV DLLENTRYPOINT_NAME(ULONG hModule, ULONG ulFlag)
     48ULONG SYSTEM _DLL_InitTerm(ULONG hModule, ULONG ulFlag)
    4949{
    5050   size_t i;
  • TabularUnified branches/gcc-kmk/src/riched32/initterm.cpp

    r6649 r21727  
    4545/* calling this function.                                                   */
    4646/****************************************************************************/
    47 ULONG DLLENTRYPOINT_CCONV DLLENTRYPOINT_NAME(ULONG hModule, ULONG ulFlag)
     47ULONG SYSTEM _DLL_InitTerm(ULONG hModule, ULONG ulFlag)
    4848{
    4949   APIRET rc;
  • TabularUnified branches/gcc-kmk/src/rsaenh/initterm.cpp

    r21363 r21727  
    4848/* calling this function.                                                   */
    4949/****************************************************************************/
    50 ULONG DLLENTRYPOINT_CCONV DLLENTRYPOINT_NAME(ULONG hModule, ULONG ulFlag)
     50ULONG SYSTEM _DLL_InitTerm(ULONG hModule, ULONG ulFlag)
    5151{
    5252   size_t i;
  • TabularUnified branches/gcc-kmk/src/schannel/initterm.cpp

    r21373 r21727  
    4848/* calling this function.                                                   */
    4949/****************************************************************************/
    50 ULONG DLLENTRYPOINT_CCONV DLLENTRYPOINT_NAME(ULONG hModule, ULONG ulFlag)
     50ULONG SYSTEM _DLL_InitTerm(ULONG hModule, ULONG ulFlag)
    5151{
    5252   size_t i;
  • TabularUnified branches/gcc-kmk/src/secur32/initterm.cpp

    r21364 r21727  
    4848/* calling this function.                                                   */
    4949/****************************************************************************/
    50 ULONG DLLENTRYPOINT_CCONV DLLENTRYPOINT_NAME(ULONG hModule, ULONG ulFlag)
     50ULONG SYSTEM _DLL_InitTerm(ULONG hModule, ULONG ulFlag)
    5151{
    5252   size_t i;
  • TabularUnified branches/gcc-kmk/src/shell32/initterm.cpp

    r6709 r21727  
    4444/* calling this function.                                                   */
    4545/****************************************************************************/
    46 ULONG DLLENTRYPOINT_CCONV DLLENTRYPOINT_NAME(ULONG hModule, ULONG ulFlag)
     46ULONG SYSTEM _DLL_InitTerm(ULONG hModule, ULONG ulFlag)
    4747{
    4848   size_t i;
  • TabularUnified branches/gcc-kmk/src/user32/controls/initterm.cpp

    r8543 r21727  
    5151/* calling this function.                                                   */
    5252/****************************************************************************/
    53 ULONG DLLENTRYPOINT_CCONV DLLENTRYPOINT_NAME(ULONG hModule, ULONG ulFlag)
     53ULONG SYSTEM _DLL_InitTerm(ULONG hModule, ULONG ulFlag)
    5454{
    5555   size_t i;
  • TabularUnified branches/gcc-kmk/src/user32/initterm.cpp

    r9699 r21727  
    6363/* calling this function.                                                   */
    6464/****************************************************************************/
    65 ULONG DLLENTRYPOINT_CCONV DLLENTRYPOINT_NAME(ULONG hModule, ULONG ulFlag)
     65ULONG SYSTEM _DLL_InitTerm(ULONG hModule, ULONG ulFlag)
    6666{
    6767   size_t i;
  • TabularUnified branches/gcc-kmk/src/wininet/initterm.cpp

    r10292 r21727  
    4545/* calling this function.                                                   */
    4646/****************************************************************************/
    47 ULONG DLLENTRYPOINT_CCONV DLLENTRYPOINT_NAME(ULONG hModule, ULONG ulFlag)
     47ULONG SYSTEM _DLL_InitTerm(ULONG hModule, ULONG ulFlag)
    4848{
    4949   size_t i;
  • TabularUnified branches/gcc-kmk/src/winmm/initterm.cpp

    r21720 r21727  
    5555/* calling this function.                                                   */
    5656/****************************************************************************/
    57 ULONG DLLENTRYPOINT_CCONV DLLENTRYPOINT_NAME(ULONG hModule, ULONG ulFlag)
     57ULONG SYSTEM _DLL_InitTerm(ULONG hModule, ULONG ulFlag)
    5858{
    5959    /*-------------------------------------------------------------------------*/
  • TabularUnified branches/gcc-kmk/src/wnaspi32/aspirout/initterm.cpp

    r8601 r21727  
    4545/* calling this function.                                                   */
    4646/****************************************************************************/
    47 ULONG DLLENTRYPOINT_CCONV DLLENTRYPOINT_NAME(ULONG hModule, ULONG ulFlag)
     47ULONG SYSTEM _DLL_InitTerm(ULONG hModule, ULONG ulFlag)
    4848{
    4949   size_t i;
  • TabularUnified branches/gcc-kmk/src/wnaspi32/initterm.cpp

    r7063 r21727  
    4545/* calling this function.                                                   */
    4646/****************************************************************************/
    47 ULONG DLLENTRYPOINT_CCONV DLLENTRYPOINT_NAME(ULONG hModule, ULONG ulFlag)
     47ULONG SYSTEM _DLL_InitTerm(ULONG hModule, ULONG ulFlag)
    4848{
    4949   size_t i;
  • TabularUnified branches/gcc-kmk/src/ws2_32/initterm.cpp

    r7040 r21727  
    7373/* calling this function.                                                   */
    7474/****************************************************************************/
    75 ULONG DLLENTRYPOINT_CCONV DLLENTRYPOINT_NAME(ULONG hModule, ULONG ulFlag)
     75ULONG SYSTEM _DLL_InitTerm(ULONG hModule, ULONG ulFlag)
    7676{
    7777   size_t i;
  • TabularUnified branches/gcc-kmk/src/wsock32/initterm.cpp

    r6639 r21727  
    4848/* calling this function.                                                   */
    4949/****************************************************************************/
    50 ULONG DLLENTRYPOINT_CCONV DLLENTRYPOINT_NAME(ULONG hModule, ULONG ulFlag)
     50ULONG SYSTEM _DLL_InitTerm(ULONG hModule, ULONG ulFlag)
    5151{
    5252   size_t i;
Note: See TracChangeset for help on using the changeset viewer.