mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
![Rusty Russell](/assets/img/avatar_default.png)
This makes them a bit more like the kernel headers, so we can include more real kernel headers in our tests. In addition this means that we don't break tools/virtio with the next patch. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
10 lines
152 B
C
10 lines
152 B
C
#ifndef BUG_H
|
|
#define BUG_H
|
|
|
|
#define BUG_ON(__BUG_ON_cond) assert(!(__BUG_ON_cond))
|
|
|
|
#define BUILD_BUG_ON(x)
|
|
|
|
#define BUG() abort()
|
|
|
|
#endif /* BUG_H */
|