Commit 536f0ae9 authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] sparse: udf cleanups

removed bogus externs from declarations in fs/udf/*
parent 2e22e8b1
...@@ -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--)
......
...@@ -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),
......
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