diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-07-16 13:24:09 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-07-16 13:24:09 +0200 |
commit | d1476bc603ff0411cc72ffa1af6422bb5d8f5f57 (patch) | |
tree | 576c28e9a6a4e3c99305803142de040599e8fa06 /openbsc | |
parent | 2c5f4c635a76a2b38971ccb31ac56b9266b79e4c (diff) |
db: use ANSI (void) function declarations
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/include/openbsc/db.h | 4 | ||||
-rw-r--r-- | openbsc/src/libmsc/db.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/openbsc/include/openbsc/db.h b/openbsc/include/openbsc/db.h index 37011a16e..d0c85ea30 100644 --- a/openbsc/include/openbsc/db.h +++ b/openbsc/include/openbsc/db.h @@ -31,8 +31,8 @@ struct gsm_subscriber; /* one time initialisation */ int db_init(const char *name); -int db_prepare(); -int db_fini(); +int db_prepare(void); +int db_fini(void); /* subscriber management */ struct gsm_subscriber *db_create_subscriber(struct gsm_network *net, diff --git a/openbsc/src/libmsc/db.c b/openbsc/src/libmsc/db.c index 126ce661f..a7eeda4dc 100644 --- a/openbsc/src/libmsc/db.c +++ b/openbsc/src/libmsc/db.c @@ -221,7 +221,7 @@ out_err: } -int db_prepare() +int db_prepare(void) { dbi_result result; int i; @@ -245,7 +245,7 @@ int db_prepare() return 0; } -int db_fini() +int db_fini(void) { dbi_conn_close(conn); dbi_shutdown(); |