Changeset 89cb140 in mainline for uspace/lib/libc/include/assert.h


Ignore:
Timestamp:
2007-11-04T16:42:02Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
320c884
Parents:
3e56ab9
Message:

assert.h should include stdio.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/include/assert.h

    r3e56ab9 r89cb140  
    4747 */
    4848
     49#include <stdio.h>
    4950#include <stdlib.h>
     51
    5052#ifndef NDEBUG
    5153#       define assert(expr) if (!(expr)) { printf("Assertion failed (%s) at file '%s', line %d.\n", #expr, __FILE__, __LINE__); abort();}
Note: See TracChangeset for help on using the changeset viewer.