* an already mounted partition. Code adapted from mke2fs, Copyright
* (C) 1994 Theodore Ts'o. Also licensed under GPL.
*/
-extern inline void check_mount(void)
+static inline void check_mount(void)
{
FILE *f;
struct mntent *mnt;
return 1;
}
-extern inline int count_blocks(int fd)
+static inline int count_blocks(int fd)
{
int high, low;
return (low + 1);
}
-extern inline int get_size(const char *file)
+static inline int get_size(const char *file)
{
int fd;
long size;
return size;
}
-extern inline void write_tables(void)
+static inline void write_tables(void)
{
/* Mark the super block valid. */
Super.s_state |= MINIX_VALID_FS;
return blk;
}
-extern inline void mark_good_blocks(void)
+static inline void mark_good_blocks(void)
{
int blk;
return 0;
}
-extern inline void make_bad_inode(void)
+static inline void make_bad_inode(void)
{
struct minix_inode *inode = &Inode[MINIX_BAD_INO];
int i, j, zone;
}
#ifdef CONFIG_FEATURE_MINIX2
-extern inline void make_bad_inode2(void)
+static inline void make_bad_inode2(void)
{
struct minix2_inode *inode = &Inode2[MINIX_BAD_INO];
int i, j, zone;
}
#endif
-extern inline void make_root_inode(void)
+static inline void make_root_inode(void)
{
struct minix_inode *inode = &Inode[MINIX_ROOT_INO];
}
#ifdef CONFIG_FEATURE_MINIX2
-extern inline void make_root_inode2(void)
+static inline void make_root_inode2(void)
{
struct minix2_inode *inode = &Inode2[MINIX_ROOT_INO];
}
#endif
-extern inline void setup_tables(void)
+static inline void setup_tables(void)
{
int i;
unsigned long inodes;
* Perform a test of a block; return the number of
* blocks readable/writeable.
*/
-extern inline long do_check(char *buffer, int try, unsigned int current_block)
+static inline long do_check(char *buffer, int try, unsigned int current_block)
{
long got;