Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
7bc7ae9e
Commit
7bc7ae9e
authored
Oct 28, 2002
by
Alexander Viro
Committed by
James Bottomley
Oct 28, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] A couple of compile fixes
parent
7d9f8b15
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
include/linux/pnp.h
include/linux/pnp.h
+2
-2
net/ipv4/raw.c
net/ipv4/raw.c
+1
-1
No files found.
include/linux/pnp.h
View file @
7bc7ae9e
...
@@ -245,10 +245,10 @@ struct pnp_dev *pnp_find_dev(struct pnp_card *card,
...
@@ -245,10 +245,10 @@ struct pnp_dev *pnp_find_dev(struct pnp_card *card,
/* just in case anyone decides to call these without PnP Support Enabled */
/* just in case anyone decides to call these without PnP Support Enabled */
static
inline
int
pnp_protocol_register
(
struct
pnp_protocol
*
protocol
)
{
return
-
ENODEV
;
}
static
inline
int
pnp_protocol_register
(
struct
pnp_protocol
*
protocol
)
{
return
-
ENODEV
;
}
static
inline
void
pnp_protocol_unregister
(
struct
pnp_protocol
*
protocol
)
{
;
)
static
inline
void
pnp_protocol_unregister
(
struct
pnp_protocol
*
protocol
)
{
}
static
inline
int
pnp_init_device
(
struct
pnp_dev
*
dev
)
{
return
-
ENODEV
;
}
static
inline
int
pnp_init_device
(
struct
pnp_dev
*
dev
)
{
return
-
ENODEV
;
}
static
inline
int
pnp_add_device
(
struct
pnp_dev
*
dev
)
{
return
-
ENODEV
;
}
static
inline
int
pnp_add_device
(
struct
pnp_dev
*
dev
)
{
return
-
ENODEV
;
}
static
inline
void
pnp_remove_device
(
struct
pnp_dev
*
dev
)
{
;
}
static
inline
void
pnp_remove_device
(
struct
pnp_dev
*
dev
)
{
}
static
inline
struct
pnp_resources
*
pnp_build_resource
(
struct
pnp_dev
*
dev
,
int
dependent
)
{
return
NULL
;
}
static
inline
struct
pnp_resources
*
pnp_build_resource
(
struct
pnp_dev
*
dev
,
int
dependent
)
{
return
NULL
;
}
static
inline
struct
pnp_resources
*
pnp_find_resources
(
struct
pnp_dev
*
dev
,
int
depnum
)
{
return
NULL
;
}
static
inline
struct
pnp_resources
*
pnp_find_resources
(
struct
pnp_dev
*
dev
,
int
depnum
)
{
return
NULL
;
}
static
inline
int
pnp_get_max_depnum
(
struct
pnp_dev
*
dev
)
{
return
-
ENODEV
;
}
static
inline
int
pnp_get_max_depnum
(
struct
pnp_dev
*
dev
)
{
return
-
ENODEV
;
}
...
...
net/ipv4/raw.c
View file @
7bc7ae9e
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
#include <net/raw.h>
#include <net/raw.h>
#include <net/inet_common.h>
#include <net/inet_common.h>
#include <net/checksum.h>
#include <net/checksum.h>
#include <linux/netfilter.h>
#include <linux/netfilter
_ipv4
.h>
struct
sock
*
raw_v4_htable
[
RAWV4_HTABLE_SIZE
];
struct
sock
*
raw_v4_htable
[
RAWV4_HTABLE_SIZE
];
rwlock_t
raw_v4_lock
=
RW_LOCK_UNLOCKED
;
rwlock_t
raw_v4_lock
=
RW_LOCK_UNLOCKED
;
...
...
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