summaryrefslogtreecommitdiff
path: root/userland/libc/include/assert.h
blob: c35845e818faa832c4fba96ddcc9e6e580f141f5 (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef ASSERT_H
#define ASSERT_H

#define assert(expr)                                                           \
  {                                                                            \
    if (!(expr))                                                               \
      aFailed(__FILE__, __LINE__);                                             \
  }
void aFailed(char *f, int l);
#endif