summaryrefslogtreecommitdiff
path: root/userland/libc/include/assert.h
blob: a009e5fed662831429e39ab6ca6d7efb5ba65d2d (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