diff options
author | Jaswinder Singh Rajput <jaswinderrajput@gmail.com> | 2009-02-02 11:15:41 -0500 |
---|---|---|
committer | Jaswinder Singh Rajput <jaswinderrajput@gmail.com> | 2009-02-02 11:15:41 -0500 |
commit | 11d9f653aff1d445b4300ae1d2e2d675a0e9172f (patch) | |
tree | 04bdc5926c8d0af76304457f4e5a77d6d470c558 /include/linux/reiserfs_fs.h | |
parent | 7d7dc0d6b0565484e0623cb08b5dcdd56424697b (diff) |
headers_check fix: linux/reinserfs_fs.h
fix the following 'make headers_check' warnings:
usr/include/linux/reiserfs_fs.h:687: extern's make no sense in userspace
usr/include/linux/reiserfs_fs.h:995: extern's make no sense in userspace
usr/include/linux/reiserfs_fs.h:997: extern's make no sense in userspace
usr/include/linux/reiserfs_fs.h:1467: extern's make no sense in userspace
usr/include/linux/reiserfs_fs.h:1760: extern's make no sense in userspace
usr/include/linux/reiserfs_fs.h:1764: extern's make no sense in userspace
usr/include/linux/reiserfs_fs.h:1766: extern's make no sense in userspace
usr/include/linux/reiserfs_fs.h:1769: extern's make no sense in userspace
usr/include/linux/reiserfs_fs.h:1771: extern's make no sense in userspace
usr/include/linux/reiserfs_fs.h:1805: extern's make no sense in userspace
usr/include/linux/reiserfs_fs.h:1948: extern's make no sense in userspace
usr/include/linux/reiserfs_fs.h:1949: extern's make no sense in userspace
usr/include/linux/reiserfs_fs.h:1950: extern's make no sense in userspace
usr/include/linux/reiserfs_fs.h:1951: extern's make no sense in userspace
usr/include/linux/reiserfs_fs.h:1962: extern's make no sense in userspace
usr/include/linux/reiserfs_fs.h:1963: extern's make no sense in userspace
usr/include/linux/reiserfs_fs.h:1964: extern's make no sense in userspace
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Diffstat (limited to 'include/linux/reiserfs_fs.h')
-rw-r--r-- | include/linux/reiserfs_fs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/reiserfs_fs.h b/include/linux/reiserfs_fs.h index bc5114d35e99..a4db55fd1f65 100644 --- a/include/linux/reiserfs_fs.h +++ b/include/linux/reiserfs_fs.h | |||
@@ -698,7 +698,9 @@ static inline void cpu_key_k_offset_dec(struct cpu_key *key) | |||
698 | /* object identifier for root dir */ | 698 | /* object identifier for root dir */ |
699 | #define REISERFS_ROOT_OBJECTID 2 | 699 | #define REISERFS_ROOT_OBJECTID 2 |
700 | #define REISERFS_ROOT_PARENT_OBJECTID 1 | 700 | #define REISERFS_ROOT_PARENT_OBJECTID 1 |
701 | #ifdef __KERNEL__ | ||
701 | extern struct reiserfs_key root_key; | 702 | extern struct reiserfs_key root_key; |
703 | #endif /* __KERNEL__ */ | ||
702 | 704 | ||
703 | /* | 705 | /* |
704 | * Picture represents a leaf of the S+tree | 706 | * Picture represents a leaf of the S+tree |
@@ -1006,10 +1008,12 @@ struct reiserfs_de_head { | |||
1006 | #define de_visible(deh) test_bit_unaligned (DEH_Visible, &((deh)->deh_state)) | 1008 | #define de_visible(deh) test_bit_unaligned (DEH_Visible, &((deh)->deh_state)) |
1007 | #define de_hidden(deh) !test_bit_unaligned (DEH_Visible, &((deh)->deh_state)) | 1009 | #define de_hidden(deh) !test_bit_unaligned (DEH_Visible, &((deh)->deh_state)) |
1008 | 1010 | ||
1011 | #ifdef __KERNEL__ | ||
1009 | extern void make_empty_dir_item_v1(char *body, __le32 dirid, __le32 objid, | 1012 | extern void make_empty_dir_item_v1(char *body, __le32 dirid, __le32 objid, |
1010 | __le32 par_dirid, __le32 par_objid); | 1013 | __le32 par_dirid, __le32 par_objid); |
1011 | extern void make_empty_dir_item(char *body, __le32 dirid, __le32 objid, | 1014 | extern void make_empty_dir_item(char *body, __le32 dirid, __le32 objid, |
1012 | __le32 par_dirid, __le32 par_objid); | 1015 | __le32 par_dirid, __le32 par_objid); |
1016 | #endif /* __KERNEL__ */ | ||
1013 | 1017 | ||
1014 | /* array of the entry headers */ | 1018 | /* array of the entry headers */ |
1015 | /* get item body */ | 1019 | /* get item body */ |
@@ -1478,7 +1482,9 @@ struct item_operations { | |||
1478 | void (*print_vi) (struct virtual_item * vi); | 1482 | void (*print_vi) (struct virtual_item * vi); |
1479 | }; | 1483 | }; |
1480 | 1484 | ||
1485 | #ifdef __KERNEL__ | ||
1481 | extern struct item_operations *item_ops[TYPE_ANY + 1]; | 1486 | extern struct item_operations *item_ops[TYPE_ANY + 1]; |
1487 | #endif /* __KERNEL__ */ | ||
1482 | 1488 | ||
1483 | #define op_bytes_number(ih,bsize) item_ops[le_ih_k_type (ih)]->bytes_number (ih, bsize) | 1489 | #define op_bytes_number(ih,bsize) item_ops[le_ih_k_type (ih)]->bytes_number (ih, bsize) |
1484 | #define op_is_left_mergeable(key,bsize) item_ops[le_key_k_type (le_key_version (key), key)]->is_left_mergeable (key, bsize) | 1490 | #define op_is_left_mergeable(key,bsize) item_ops[le_key_k_type (le_key_version (key), key)]->is_left_mergeable (key, bsize) |
@@ -1679,6 +1685,7 @@ struct reiserfs_transaction_handle { | |||
1679 | struct list_head t_list; | 1685 | struct list_head t_list; |
1680 | }; | 1686 | }; |
1681 | 1687 | ||
1688 | #ifdef __KERNEL__ | ||
1682 | /* used to keep track of ordered and tail writes, attached to the buffer | 1689 | /* used to keep track of ordered and tail writes, attached to the buffer |
1683 | * head through b_journal_head. | 1690 | * head through b_journal_head. |
1684 | */ | 1691 | */ |
@@ -2203,4 +2210,5 @@ int reiserfs_unpack(struct inode *inode, struct file *filp); | |||
2203 | /* xattr stuff */ | 2210 | /* xattr stuff */ |
2204 | #define REISERFS_XATTR_DIR_SEM(s) (REISERFS_SB(s)->xattr_dir_sem) | 2211 | #define REISERFS_XATTR_DIR_SEM(s) (REISERFS_SB(s)->xattr_dir_sem) |
2205 | 2212 | ||
2213 | #endif /* __KERNEL__ */ | ||
2206 | #endif /* _LINUX_REISER_FS_H */ | 2214 | #endif /* _LINUX_REISER_FS_H */ |