view CbC-examples/bug.c @ 126:5d30d517ebed

fix example
author mir3636
date Sun, 08 Apr 2018 20:55:21 +0900
parents 4c6926a2b9bc
children
line wrap: on
line source

extern int printf(const char*, ...);

typedef void (*atexit_callback)(void);
typedef void (*cxa_atexit_callback)(void *);
struct one_atexit_routine 
{
  int callback;
};


static int
atexit_common (const struct one_atexit_routine *r, const void *dso)


{
    return 0;
}

int main(){
    printf("hello\n");
}