Update gcc-invalid-prototypes

Fix new invalid prototypes, typically just a missing void arg.
This commit is contained in:
Brian Behlendorf 2010-06-14 15:25:49 -07:00
parent 2591cac812
commit b41463f5e8
3 changed files with 5 additions and 5 deletions

View File

@ -5346,7 +5346,7 @@ print_time(hrtime_t t, char *timebuf)
}
static nvlist_t *
make_random_props()
make_random_props(void)
{
nvlist_t *props;

View File

@ -528,8 +528,8 @@ int dmu_xuio_add(struct xuio *uio, struct arc_buf *abuf, offset_t off,
int dmu_xuio_cnt(struct xuio *uio);
struct arc_buf *dmu_xuio_arcbuf(struct xuio *uio, int i);
void dmu_xuio_clear(struct xuio *uio, int i);
void xuio_stat_wbuf_copied();
void xuio_stat_wbuf_nocopy();
void xuio_stat_wbuf_copied(void);
void xuio_stat_wbuf_nocopy(void);
extern int zfs_prefetch_disable;

View File

@ -148,8 +148,8 @@ int sa_replace_all_by_template(sa_handle_t *, sa_bulk_attr_t *,
int sa_replace_all_by_template_locked(sa_handle_t *, sa_bulk_attr_t *,
int, dmu_tx_t *);
boolean_t sa_enabled(objset_t *);
void sa_cache_init();
void sa_cache_fini();
void sa_cache_init(void);
void sa_cache_fini(void);
int sa_set_sa_object(objset_t *, uint64_t);
int sa_hdrsize(void *);
void sa_handle_lock(sa_handle_t *);