Revision 1163
fixed compiler warnings by including library files
branches/simulator/projects/simulator/simulator/core/logger.c | ||
---|---|---|
1 | 1 |
#include "logger.h" |
2 | 2 |
#include "robot.h" |
3 | 3 |
#include <stdio.h> |
4 |
#include <stdlib.h> |
|
5 |
#include <string.h> |
|
4 | 6 |
|
5 |
|
|
6 | 7 |
int setWriteFile(char *name, char* worldName) |
7 | 8 |
{ |
8 | 9 |
file = fopen(name, "w"); |
... | ... | |
47 | 48 |
return -1; |
48 | 49 |
} |
49 | 50 |
|
51 |
return 0; |
|
50 | 52 |
} |
51 | 53 |
|
52 | 54 |
void commit(Robot* robot, int index, int timeStep) |
Also available in: Unified diff