Again fixed some compiler warnings.
--- a/lib/sdo_request.c Wed Sep 19 22:33:13 2012 +0200
+++ b/lib/sdo_request.c Wed Sep 19 22:40:32 2012 +0200
@@ -37,6 +37,7 @@
#include <stdio.h>
#include <errno.h>
#include <string.h>
+#include <sys/ioctl.h>
#include "sdo_request.h"
#include "master/ioctl.h"
--- a/lib/slave_config.c Wed Sep 19 22:33:13 2012 +0200
+++ b/lib/slave_config.c Wed Sep 19 22:40:32 2012 +0200
@@ -70,7 +70,6 @@
ec_direction_t dir, ec_watchdog_mode_t watchdog_mode)
{
ec_ioctl_config_t data;
- unsigned int i;
if (sync_index >= EC_MAX_SYNC_MANAGERS)
return -ENOENT;
@@ -473,7 +472,6 @@
{
ec_ioctl_voe_t data;
ec_voe_handler_t *voe;
- unsigned int index;
voe = malloc(sizeof(ec_voe_handler_t));
if (!voe) {