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
Kirill Smelkov
linux
Commits
536f0ae9
Commit
536f0ae9
authored
Jun 18, 2004
by
Alexander Viro
Committed by
Linus Torvalds
Jun 18, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sparse: udf cleanups
removed bogus externs from declarations in fs/udf/*
parent
2e22e8b1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
fs/udf/crc.c
fs/udf/crc.c
+1
-1
fs/udf/misc.c
fs/udf/misc.c
+6
-6
No files found.
fs/udf/crc.c
View file @
536f0ae9
...
@@ -84,7 +84,7 @@ static uint16_t crc_table[256] = {
...
@@ -84,7 +84,7 @@ static uint16_t crc_table[256] = {
* July 21, 1997 - Andrew E. Mileski
* July 21, 1997 - Andrew E. Mileski
* Adapted from OSTA-UDF(tm) 1.50 standard.
* Adapted from OSTA-UDF(tm) 1.50 standard.
*/
*/
extern
uint16_t
uint16_t
udf_crc
(
uint8_t
*
data
,
uint32_t
size
,
uint16_t
crc
)
udf_crc
(
uint8_t
*
data
,
uint32_t
size
,
uint16_t
crc
)
{
{
while
(
size
--
)
while
(
size
--
)
...
...
fs/udf/misc.c
View file @
536f0ae9
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
#include "udf_i.h"
#include "udf_i.h"
#include "udf_sb.h"
#include "udf_sb.h"
extern
struct
buffer_head
*
struct
buffer_head
*
udf_tgetblk
(
struct
super_block
*
sb
,
int
block
)
udf_tgetblk
(
struct
super_block
*
sb
,
int
block
)
{
{
if
(
UDF_QUERY_FLAG
(
sb
,
UDF_FLAG_VARCONV
))
if
(
UDF_QUERY_FLAG
(
sb
,
UDF_FLAG_VARCONV
))
...
@@ -43,7 +43,7 @@ udf_tgetblk(struct super_block *sb, int block)
...
@@ -43,7 +43,7 @@ udf_tgetblk(struct super_block *sb, int block)
return
sb_getblk
(
sb
,
block
);
return
sb_getblk
(
sb
,
block
);
}
}
extern
struct
buffer_head
*
struct
buffer_head
*
udf_tread
(
struct
super_block
*
sb
,
int
block
)
udf_tread
(
struct
super_block
*
sb
,
int
block
)
{
{
if
(
UDF_QUERY_FLAG
(
sb
,
UDF_FLAG_VARCONV
))
if
(
UDF_QUERY_FLAG
(
sb
,
UDF_FLAG_VARCONV
))
...
@@ -52,7 +52,7 @@ udf_tread(struct super_block *sb, int block)
...
@@ -52,7 +52,7 @@ udf_tread(struct super_block *sb, int block)
return
sb_bread
(
sb
,
block
);
return
sb_bread
(
sb
,
block
);
}
}
extern
struct
genericFormat
*
struct
genericFormat
*
udf_add_extendedattr
(
struct
inode
*
inode
,
uint32_t
size
,
uint32_t
type
,
udf_add_extendedattr
(
struct
inode
*
inode
,
uint32_t
size
,
uint32_t
type
,
uint8_t
loc
)
uint8_t
loc
)
{
{
...
@@ -157,7 +157,7 @@ udf_add_extendedattr(struct inode * inode, uint32_t size, uint32_t type,
...
@@ -157,7 +157,7 @@ udf_add_extendedattr(struct inode * inode, uint32_t size, uint32_t type,
return
NULL
;
return
NULL
;
}
}
extern
struct
genericFormat
*
struct
genericFormat
*
udf_get_extendedattr
(
struct
inode
*
inode
,
uint32_t
type
,
uint8_t
subtype
)
udf_get_extendedattr
(
struct
inode
*
inode
,
uint32_t
type
,
uint8_t
subtype
)
{
{
struct
genericFormat
*
gaf
;
struct
genericFormat
*
gaf
;
...
@@ -207,7 +207,7 @@ udf_get_extendedattr(struct inode *inode, uint32_t type, uint8_t subtype)
...
@@ -207,7 +207,7 @@ udf_get_extendedattr(struct inode *inode, uint32_t type, uint8_t subtype)
* July 1, 1997 - Andrew E. Mileski
* July 1, 1997 - Andrew E. Mileski
* Written, tested, and released.
* Written, tested, and released.
*/
*/
extern
struct
buffer_head
*
struct
buffer_head
*
udf_read_tagged
(
struct
super_block
*
sb
,
uint32_t
block
,
uint32_t
location
,
uint16_t
*
ident
)
udf_read_tagged
(
struct
super_block
*
sb
,
uint32_t
block
,
uint32_t
location
,
uint16_t
*
ident
)
{
{
tag
*
tag_p
;
tag
*
tag_p
;
...
@@ -272,7 +272,7 @@ udf_read_tagged(struct super_block *sb, uint32_t block, uint32_t location, uint1
...
@@ -272,7 +272,7 @@ udf_read_tagged(struct super_block *sb, uint32_t block, uint32_t location, uint1
return
NULL
;
return
NULL
;
}
}
extern
struct
buffer_head
*
struct
buffer_head
*
udf_read_ptagged
(
struct
super_block
*
sb
,
lb_addr
loc
,
uint32_t
offset
,
uint16_t
*
ident
)
udf_read_ptagged
(
struct
super_block
*
sb
,
lb_addr
loc
,
uint32_t
offset
,
uint16_t
*
ident
)
{
{
return
udf_read_tagged
(
sb
,
udf_get_lb_pblock
(
sb
,
loc
,
offset
),
return
udf_read_tagged
(
sb
,
udf_get_lb_pblock
(
sb
,
loc
,
offset
),
...
...
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