Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
7a7ff0c6
Commit
7a7ff0c6
authored
Jan 13, 2010
by
Cedric Le Goater
Committed by
Daniel Lezcano
Jan 13, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix lxc_file_cb prototype
Signed-off-by:
Cedric Le Goater
<
clg@fr.ibm.com
>
Signed-off-by:
Daniel Lezcano
<
dlezcano@fr.ibm.com
>
parent
f079d569
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
conf.c
src/lxc/conf.c
+2
-2
confile.c
src/lxc/confile.c
+1
-1
parse.h
src/lxc/parse.h
+1
-1
No files found.
src/lxc/conf.c
View file @
7a7ff0c6
...
@@ -113,7 +113,7 @@ static struct mount_opt mount_opt[] = {
...
@@ -113,7 +113,7 @@ static struct mount_opt mount_opt[] = {
{
NULL
,
0
,
0
},
{
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
{
struct
cbarg
{
const
char
*
rootfs
;
const
char
*
rootfs
;
...
@@ -338,7 +338,7 @@ static int setup_tty(const char *rootfs, const struct lxc_tty_info *tty_info)
...
@@ -338,7 +338,7 @@ static int setup_tty(const char *rootfs, const struct lxc_tty_info *tty_info)
return
0
;
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
;
struct
lxc_list
*
mountlist
,
*
listentry
,
*
iterator
;
char
*
pivotdir
,
*
mountpoint
,
*
mountentry
;
char
*
pivotdir
,
*
mountpoint
,
*
mountentry
;
...
...
src/lxc/confile.c
View file @
7a7ff0c6
...
@@ -620,7 +620,7 @@ static int config_utsname(const char *key, char *value, struct lxc_conf *lxc_con
...
@@ -620,7 +620,7 @@ static int config_utsname(const char *key, char *value, struct lxc_conf *lxc_con
return
0
;
return
0
;
}
}
static
int
parse_line
(
void
*
buffer
,
void
*
data
)
static
int
parse_line
(
char
*
buffer
,
void
*
data
)
{
{
struct
config
*
config
;
struct
config
*
config
;
char
*
line
=
buffer
;
char
*
line
=
buffer
;
...
...
src/lxc/parse.h
View file @
7a7ff0c6
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
typedef
int
(
*
lxc_dir_cb
)(
const
char
*
name
,
const
char
*
directory
,
typedef
int
(
*
lxc_dir_cb
)(
const
char
*
name
,
const
char
*
directory
,
const
char
*
file
,
void
*
data
);
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
,
extern
int
lxc_dir_for_each
(
const
char
*
name
,
const
char
*
directory
,
lxc_dir_cb
callback
,
void
*
data
);
lxc_dir_cb
callback
,
void
*
data
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment