Changeset 9ac2013 in mainline for kernel/generic/include/interrupt.h


Ignore:
Timestamp:
2010-11-26T01:26:17Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0b0f4bb
Parents:
04357767
Message:

add format checking to more printf-like functions (fault_if_from_uspace, panic_common, fprintf, snprintf, asprintf)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/interrupt.h

    r04357767 r9ac2013  
    3737
    3838#include <arch/interrupt.h>
     39#include <print.h>
    3940#include <typedefs.h>
    4041#include <proc/task.h>
     
    5758extern exc_table_t exc_table[];
    5859
    59 extern void fault_if_from_uspace(istate_t *, const char *, ...);
     60extern void fault_if_from_uspace(istate_t *, const char *, ...)
     61    PRINTF_ATTRIBUTE(2, 3);
    6062extern iroutine_t exc_register(unsigned int, const char *, bool, iroutine_t);
    6163extern void exc_dispatch(unsigned int, istate_t *);
Note: See TracChangeset for help on using the changeset viewer.