aboutsummaryrefslogtreecommitdiff
path: root/include/gensvm_base.h
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2017-02-21 18:46:05 -0500
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2017-02-21 18:46:05 -0500
commit9cae6b1c78725360d5fbf7c507559532104cead0 (patch)
treed682ebd39f1539dc4affa6c9c9d71a10fb8eeb71 /include/gensvm_base.h
parentMinor fixes (diff)
downloadgensvm-9cae6b1c78725360d5fbf7c507559532104cead0.tar.gz
gensvm-9cae6b1c78725360d5fbf7c507559532104cead0.zip
Explicitly specify void argument to functions which take
no arguments.
Diffstat (limited to 'include/gensvm_base.h')
-rw-r--r--include/gensvm_base.h4
1 files changed, 2 insertions, 2 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);