diff options
author | Colin Walters <walters@verbum.org> | 2010-12-02 11:34:46 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2010-12-03 16:03:32 -0500 |
commit | 0007b3ec76bafa732201ad96eccdf8b5626fe3fd (patch) | |
tree | c0208d5ce787e3099f5834742a533b31704783a8 /girepository/cmph/chd_ph.h | |
parent | 0b00fb76e3de40010b69ca64ab5fa5bf039e7478 (diff) | |
download | gobject-introspection-0007b3ec76bafa732201ad96eccdf8b5626fe3fd.tar.gz |
cmph: Squash a lot of gcc -Wall compiler warnings
* Functions taking no parameters need to explicitly say (void).
* Mark some functions as static that are
* Comment out an unused function in bdz.c
* Change loop indicies "i" to be unsigned if our limit is unsigned
Diffstat (limited to 'girepository/cmph/chd_ph.h')
-rw-r--r-- | girepository/cmph/chd_ph.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/girepository/cmph/chd_ph.h b/girepository/cmph/chd_ph.h index d2bdb028..03e4087c 100644 --- a/girepository/cmph/chd_ph.h +++ b/girepository/cmph/chd_ph.h @@ -7,7 +7,7 @@ typedef struct __chd_ph_data_t chd_ph_data_t; typedef struct __chd_ph_config_data_t chd_ph_config_data_t; /* Config API */ -chd_ph_config_data_t *chd_ph_config_new(); +chd_ph_config_data_t *chd_ph_config_new(void); void chd_ph_config_set_hashfuncs(cmph_config_t *mph, CMPH_HASH *hashfuncs); /** \fn void chd_ph_config_set_keys_per_bin(cmph_config_t *mph, cmph_uint32 keys_per_bin); |