| // Copyright 2013 Google Inc. All Rights Reserved. | |
| // | |
| // Stub definitions for undefined functions. | |
| // | |
| // TODO(crbug.com/243244): Remove this file once bionic becomes ready. | |
| // | |
| void print_str(const char*); | |
| #define DEFINE_STUB(name) \ | |
| int name() { \ | |
| print_str("*** " #name " is called ***\n"); \ | |
| return 0; \ | |
| } | |
| DEFINE_STUB(__futex_wait) | |
| DEFINE_STUB(__futex_wake) |