Commit fa282db5 authored by Henrik Rentz-Reichert's avatar Henrik Rentz-Reichert
Browse files

Bug 552897 - [runtime.c] reduce warnings using C compiler

Added missing includes.

Change-Id: I6814052eb6ee8b91d81909b70ac6286289b7dc92
parent 463d4354
......@@ -35,7 +35,7 @@ static void* etConsoleSender_getBuffer(etBufferSender* self, size_t size) {
}
void etConsoleSender_sendBuffer(etBufferSender* self, void* buffer, size_t size) {
fprintf(stdout, buffer);
fprintf(stdout, "%s", (char*) buffer);
fflush(stdout);
}
......
......@@ -12,12 +12,12 @@
*
*******************************************************************************/
#include "debugging/etLogger.h"
#include "osal/etTime.h"
#include <stdarg.h>
#include <string.h>
#include "debugging/etLogger.h"
#include "osal/etTime.h"
static char* prefixes[] = {
"E: ",
"W: ",
......
......@@ -12,6 +12,8 @@
*
*******************************************************************************/
#include <stdlib.h>
#include <string.h>
#include "runtime/etRuntime.h"
#include "debugging/etMSCLogger.h"
......
......@@ -31,6 +31,7 @@
#include <unistd.h>
#include <signal.h>
#if __GNUC__ <= 4
/* in newer versions this header isn't needed explicitly */
#include <bits/siginfo.h>
#endif
#include <time.h>
......
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