Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/interpose.c

    r6a5be52 rc2b9f21  
    2424}
    2525
    26 #include "libhdr/libdebug.h"
    27 #include "libhdr/libtools.h"
     26#include "bits/debug.h"
     27#include "bits/defs.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 )
    7371
    7472forall(dtype T)
     
    127125                        va_end( args );
    128126
    129                         __lib_debug_write( abort_text, len );
    130                         __lib_debug_write( "\n", 1 );
     127                        __cfaabi_dbg_bits_write( abort_text, len );
     128                        __cfaabi_dbg_bits_write( "\n", 1 );
    131129                }
    132130
    133131                len = snprintf( abort_text, abort_text_size, "Cforall Runtime error (UNIX pid:%ld)\n", (long int)getpid() ); // use UNIX pid (versus getPid)
    134                 __lib_debug_write( abort_text, len );
     132                __cfaabi_dbg_bits_write( abort_text, len );
    135133
    136134
Note: See TracChangeset for help on using the changeset viewer.