* Foundation. See file COPYING.
*
*/
+
#include <errno.h>
-#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
-#include <stdio.h>
-#include <string.h>
-#include <ctype.h>
#include <dirent.h>
-#include <stdlib.h>
#include "include/uuid.h"
#ifdef __linux__
{
return -EOPNOTSUPP;
}
-int get_device_by_fd(int fd, char* partition, char* device)
+int get_device_by_fd(int fd, char *partition, char *device, size_t max)
{
return -EOPNOTSUPP;
}
return -EOPNOTSUPP;
}
-int get_device_by_fd(int fd, char* partition, char* device)
+int get_device_by_fd(int fd, char *partition, char *device, size_t max)
{
return -EOPNOTSUPP;
}