annotate CbC-examples/bug.c @ 22:0eb6cac880f0
add cbc example of quicksort.
author |
kent <kent@cr.ie.u-ryukyu.ac.jp> |
date |
Tue, 13 Oct 2009 17:15:58 +0900 |
parents |
4c6926a2b9bc |
children |
5d30d517ebed |
rev |
line source |
16
|
1 typedef void (*atexit_callback)(void);
|
|
2 typedef void (*cxa_atexit_callback)(void *);
|
|
3 struct one_atexit_routine
|
|
4 {
|
|
5 int callback;
|
|
6 };
|
|
7
|
|
8
|
|
9 static int
|
|
10 atexit_common (const struct one_atexit_routine *r, const void *dso)
|
|
11
|
|
12
|
|
13 {
|
|
14 return 0;
|
|
15 }
|
|
16
|
|
17 int main(){
|
|
18 printf("hello\n");
|
|
19 }
|