diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-21 13:30:15 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-22 07:29:26 +0200 |
commit | 506bfc8580c365c48f2200772ddd0985e661ae34 (patch) | |
tree | 66f6c17573377ee1e14556d102df974db66e2a23 /cpukit/mghttpd | |
parent | ede1a4182df68b1191b8ef2031f7a1f14813b525 (diff) |
Move printer initialization to separate header
The RTEMS print user need to know nothing about a particular printer
implementation. In particular get rid of the <stdio.h> include which
would be visible via <rtems.h>.
Diffstat (limited to 'cpukit/mghttpd')
-rw-r--r-- | cpukit/mghttpd/mongoose.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/mghttpd/mongoose.c b/cpukit/mghttpd/mongoose.c index a89fc56885..3dd0d4baab 100644 --- a/cpukit/mghttpd/mongoose.c +++ b/cpukit/mghttpd/mongoose.c @@ -5520,7 +5520,7 @@ struct mg_context *mg_start(const struct mg_callbacks *callbacks, return ctx; } #ifdef __rtems__ -#include <rtems/print.h> +#include <rtems/printer.h> static int mg_printer_plugin(void *context, const char *fmt, va_list ap) { return mg_vprintf(context, fmt, ap); |