Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/interpose.c

    rc2b9f21 r6a5be52  
    2424}
    2525
    26 #include "bits/debug.h"
    27 #include "bits/defs.h"
     26#include "libhdr/libdebug.h"
     27#include "libhdr/libtools.h"
    2828#include "startup.h"
    2929
     
    6969__typeof__( exit ) libc_exit __attribute__(( noreturn ));
    7070__typeof__( abort ) libc_abort __attribute__(( noreturn ));
     71
     72// #define INIT_REALRTN( x, ver ) libc_##x = (__typeof__(libc_##x))interpose_symbol( #x, ver )
    7173
    7274forall(dtype T)
     
    125127                        va_end( args );
    126128
    127                         __cfaabi_dbg_bits_write( abort_text, len );
    128                         __cfaabi_dbg_bits_write( "\n", 1 );
     129                        __lib_debug_write( abort_text, len );
     130                        __lib_debug_write( "\n", 1 );
    129131                }
    130132
    131133                len = snprintf( abort_text, abort_text_size, "Cforall Runtime error (UNIX pid:%ld)\n", (long int)getpid() ); // use UNIX pid (versus getPid)
    132                 __cfaabi_dbg_bits_write( abort_text, len );
     134                __lib_debug_write( abort_text, len );
    133135
    134136
Note: See TracChangeset for help on using the changeset viewer.