Commit ff1ba052 authored by Alessandro Rubini's avatar Alessandro Rubini

include: add __attribute__((format(printf))) to mprintf

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 14a84cc7
#ifndef __UART_H
#define __UART_H
int mprintf(char const *format, ...);
int mprintf(char const *format, ...)
__attribute__((format(printf,1,2)));
void uart_init();
void uart_write_byte(int b);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment