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/bmz8.c | |
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/bmz8.c')
-rw-r--r-- | girepository/cmph/bmz8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/girepository/cmph/bmz8.c b/girepository/cmph/bmz8.c index 203f4fc1..4db4dfce 100644 --- a/girepository/cmph/bmz8.c +++ b/girepository/cmph/bmz8.c @@ -19,7 +19,7 @@ static cmph_uint8 bmz8_traverse_critical_nodes(bmz8_config_data_t *bmz8, cmph_ui static cmph_uint8 bmz8_traverse_critical_nodes_heuristic(bmz8_config_data_t *bmz8, cmph_uint32 v, cmph_uint8 * biggest_g_value, cmph_uint8 * biggest_edge_value, cmph_uint8 * used_edges, cmph_uint8 * visited); static void bmz8_traverse_non_critical_nodes(bmz8_config_data_t *bmz8, cmph_uint8 * used_edges, cmph_uint8 * visited); -bmz8_config_data_t *bmz8_config_new() +bmz8_config_data_t *bmz8_config_new(void) { bmz8_config_data_t *bmz8; bmz8 = (bmz8_config_data_t *)malloc(sizeof(bmz8_config_data_t)); |