Commit 7a7ff0c6 by Cedric Le Goater Committed by Daniel Lezcano

fix lxc_file_cb prototype

parent f079d569
......@@ -113,7 +113,7 @@ static struct mount_opt mount_opt[] = {
{ NULL, 0, 0 },
};
static int configure_find_fstype_cb(void* buffer, void *data)
static int configure_find_fstype_cb(char* buffer, void *data)
{
struct cbarg {
const char *rootfs;
......@@ -338,7 +338,7 @@ static int setup_tty(const char *rootfs, const struct lxc_tty_info *tty_info)
return 0;
}
static int setup_rootfs_pivot_root_cb(void *buffer, void *data)
static int setup_rootfs_pivot_root_cb(char *buffer, void *data)
{
struct lxc_list *mountlist, *listentry, *iterator;
char *pivotdir, *mountpoint, *mountentry;
......
......@@ -620,7 +620,7 @@ static int config_utsname(const char *key, char *value, struct lxc_conf *lxc_con
return 0;
}
static int parse_line(void *buffer, void *data)
static int parse_line(char *buffer, void *data)
{
struct config *config;
char *line = buffer;
......
......@@ -26,7 +26,7 @@
typedef int (*lxc_dir_cb)(const char *name, const char *directory,
const char *file, void *data);
typedef int (*lxc_file_cb)(void *buffer, void *data);
typedef int (*lxc_file_cb)(char *buffer, void *data);
extern int lxc_dir_for_each(const char *name, const char *directory,
lxc_dir_cb callback, void *data);
......
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