diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/gensvm_base.h | 4 | ||||
| -rw-r--r-- | include/gensvm_grid.h | 2 | ||||
| -rw-r--r-- | include/gensvm_queue.h | 2 | ||||
| -rw-r--r-- | include/gensvm_sparse.h | 2 | ||||
| -rw-r--r-- | include/gensvm_task.h | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/include/gensvm_base.h b/include/gensvm_base.h index 72371df..367a1b2 100644 --- a/include/gensvm_base.h +++ b/include/gensvm_base.h @@ -173,12 +173,12 @@ struct GenWork { }; // function declarations -struct GenModel *gensvm_init_model(); +struct GenModel *gensvm_init_model(void); void gensvm_allocate_model(struct GenModel *model); void gensvm_reallocate_model(struct GenModel *model, long n, long m); void gensvm_free_model(struct GenModel *model); -struct GenData *gensvm_init_data(); +struct GenData *gensvm_init_data(void); void gensvm_free_data(struct GenData *data); struct GenWork *gensvm_init_work(struct GenModel *model); diff --git a/include/gensvm_grid.h b/include/gensvm_grid.h index 900a62a..0f4319e 100644 --- a/include/gensvm_grid.h +++ b/include/gensvm_grid.h @@ -115,7 +115,7 @@ struct GenGrid { }; // function declarations -struct GenGrid *gensvm_init_grid(); +struct GenGrid *gensvm_init_grid(void); void gensvm_free_grid(struct GenGrid *grid); #endif diff --git a/include/gensvm_queue.h b/include/gensvm_queue.h index c680ebf..441b4a9 100644 --- a/include/gensvm_queue.h +++ b/include/gensvm_queue.h @@ -54,7 +54,7 @@ struct GenQueue { }; // function declarations -struct GenQueue *gensvm_init_queue(); +struct GenQueue *gensvm_init_queue(void); void gensvm_free_queue(struct GenQueue *q); struct GenTask *get_next_task(struct GenQueue *q); diff --git a/include/gensvm_sparse.h b/include/gensvm_sparse.h index f897889..ed80cf2 100644 --- a/include/gensvm_sparse.h +++ b/include/gensvm_sparse.h @@ -68,7 +68,7 @@ struct GenSparse { ///< column indices, should be of length nnz }; -struct GenSparse *gensvm_init_sparse(); +struct GenSparse *gensvm_init_sparse(void); void gensvm_free_sparse(struct GenSparse *sp); long gensvm_count_nnz(double *A, long rows, long cols); bool gensvm_nnz_comparison(long nnz, long rows, long cols); diff --git a/include/gensvm_task.h b/include/gensvm_task.h index 77db463..3e180da 100644 --- a/include/gensvm_task.h +++ b/include/gensvm_task.h @@ -85,7 +85,7 @@ struct GenTask { ///< performance after cross validation }; -struct GenTask *gensvm_init_task(); +struct GenTask *gensvm_init_task(void); struct GenTask *gensvm_copy_task(struct GenTask *t); void gensvm_free_task(struct GenTask *t); void gensvm_task_to_model(struct GenTask *task, struct GenModel *model); |
