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
f549edcc
Commit
f549edcc
authored
Nov 10, 2011
by
Greg Kurz
Committed by
dlezcano
Nov 10, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lxc: fix erroneous includes
The "" notation is preferrable if the header file is local. Signed-off-by:
Greg Kurz
<
gkurz@fr.ibm.com
>
Signed-off-by:
Daniel Lezcano
<
dlezcano@fr.ibm.com
>
parent
f6267d90
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
19 additions
and
12 deletions
+19
-12
genl.c
src/lxc/genl.c
+3
-2
lxc_info.c
src/lxc/lxc_info.c
+2
-1
mainloop.h
src/lxc/mainloop.h
+1
-1
network.c
src/lxc/network.c
+3
-2
nl.c
src/lxc/nl.c
+2
-1
restart.c
src/lxc/restart.c
+2
-1
rtnl.c
src/lxc/rtnl.c
+3
-2
start.c
src/lxc/start.c
+3
-2
No files found.
src/lxc/genl.c
View file @
f549edcc
...
@@ -28,8 +28,9 @@
...
@@ -28,8 +28,9 @@
#include <unistd.h>
#include <unistd.h>
#include <linux/genetlink.h>
#include <linux/genetlink.h>
#include <linux/rtnetlink.h>
#include <linux/rtnetlink.h>
#include <nl.h>
#include <genl.h>
#include "nl.h"
#include "genl.h"
static
int
genetlink_resolve_family
(
const
char
*
family
)
static
int
genetlink_resolve_family
(
const
char
*
family
)
{
{
...
...
src/lxc/lxc_info.c
View file @
f549edcc
...
@@ -28,7 +28,8 @@
...
@@ -28,7 +28,8 @@
#include <lxc/lxc.h>
#include <lxc/lxc.h>
#include <lxc/log.h>
#include <lxc/log.h>
#include <commands.h>
#include "commands.h"
#include "arguments.h"
#include "arguments.h"
static
bool
state
;
static
bool
state
;
...
...
src/lxc/mainloop.h
View file @
f549edcc
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
*/
#include
<list.h>
#include
"list.h"
struct
lxc_epoll_descr
{
struct
lxc_epoll_descr
{
int
epfd
;
int
epfd
;
...
...
src/lxc/network.c
View file @
f549edcc
...
@@ -44,8 +44,9 @@
...
@@ -44,8 +44,9 @@
#include <linux/rtnetlink.h>
#include <linux/rtnetlink.h>
#include <linux/sockios.h>
#include <linux/sockios.h>
#include <linux/if_bridge.h>
#include <linux/if_bridge.h>
#include <nl.h>
#include <network.h>
#include "nl.h"
#include "network.h"
#ifndef IFLA_LINKMODE
#ifndef IFLA_LINKMODE
# define IFLA_LINKMODE 17
# define IFLA_LINKMODE 17
...
...
src/lxc/nl.c
View file @
f549edcc
...
@@ -29,7 +29,8 @@
...
@@ -29,7 +29,8 @@
#include <stdlib.h>
#include <stdlib.h>
#include <linux/netlink.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
#include <linux/rtnetlink.h>
#include <nl.h>
#include "nl.h"
#define NLMSG_TAIL(nmsg) \
#define NLMSG_TAIL(nmsg) \
((struct rtattr *) (((void *) (nmsg)) + NLMSG_ALIGN((nmsg)->nlmsg_len)))
((struct rtattr *) (((void *) (nmsg)) + NLMSG_ALIGN((nmsg)->nlmsg_len)))
...
...
src/lxc/restart.c
View file @
f549edcc
...
@@ -21,7 +21,8 @@
...
@@ -21,7 +21,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
*/
#include "../config.h"
#include "config.h"
#include <stdio.h>
#include <stdio.h>
#undef _GNU_SOURCE
#undef _GNU_SOURCE
#include <string.h>
#include <string.h>
...
...
src/lxc/rtnl.c
View file @
f549edcc
...
@@ -28,8 +28,9 @@
...
@@ -28,8 +28,9 @@
#include <unistd.h>
#include <unistd.h>
#include <linux/netlink.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
#include <linux/rtnetlink.h>
#include <nl.h>
#include <rtnl.h>
#include "nl.h"
#include "rtnl.h"
extern
int
rtnetlink_open
(
struct
rtnl_handler
*
handler
)
extern
int
rtnetlink_open
(
struct
rtnl_handler
*
handler
)
{
{
...
...
src/lxc/start.c
View file @
f549edcc
...
@@ -21,7 +21,8 @@
...
@@ -21,7 +21,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
*/
#include "../config.h"
#include "config.h"
#include <stdio.h>
#include <stdio.h>
#undef _GNU_SOURCE
#undef _GNU_SOURCE
#include <string.h>
#include <string.h>
...
@@ -32,7 +33,6 @@
...
@@ -32,7 +33,6 @@
#include <signal.h>
#include <signal.h>
#include <fcntl.h>
#include <fcntl.h>
#include <termios.h>
#include <termios.h>
#include <namespace.h>
#include <sys/param.h>
#include <sys/param.h>
#include <sys/file.h>
#include <sys/file.h>
#include <sys/mount.h>
#include <sys/mount.h>
...
@@ -125,6 +125,7 @@ int signalfd(int fd, const sigset_t *mask, int flags)
...
@@ -125,6 +125,7 @@ int signalfd(int fd, const sigset_t *mask, int flags)
#include "commands.h"
#include "commands.h"
#include "console.h"
#include "console.h"
#include "sync.h"
#include "sync.h"
#include "namespace.h"
lxc_log_define
(
lxc_start
,
lxc
);
lxc_log_define
(
lxc_start
,
lxc
);
...
...
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