@@ -38,9 +38,9 @@ struct block_allocation {
3838};
3939
4040
41- void block_allocator_init ();
42- void block_allocator_free ();
43- u32 allocate_block ();
41+ void block_allocator_init (void );
42+ void block_allocator_free (void );
43+ u32 allocate_block (void );
4444struct block_allocation * allocate_blocks (u32 len );
4545int block_allocation_num_regions (struct block_allocation * alloc );
4646int block_allocation_len (struct block_allocation * alloc );
@@ -58,7 +58,7 @@ void add_directory(u32 inode);
5858u16 get_directories (int bg );
5959u16 get_bg_flags (int bg );
6060void init_unused_inode_tables (void );
61- u32 allocate_inode ();
61+ u32 allocate_inode (void );
6262void free_alloc (struct block_allocation * alloc );
6363int reserve_oob_blocks (struct block_allocation * alloc , int blocks );
6464int advance_blocks (struct block_allocation * alloc , int blocks );
@@ -67,7 +67,7 @@ int last_region(struct block_allocation *alloc);
6767void rewind_alloc (struct block_allocation * alloc );
6868void append_region (struct block_allocation * alloc ,
6969 u32 block , u32 len , int bg );
70- struct block_allocation * create_allocation ();
70+ struct block_allocation * create_allocation (void );
7171int append_oob_allocation (struct block_allocation * alloc , u32 len );
7272void print_blocks (FILE * f , struct block_allocation * alloc );
7373
0 commit comments