diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2011-05-04 11:28:57 +0200 |
---|---|---|
committer | Johan Hedberg <jh@dell.(none)> | 2011-05-15 01:47:05 +0300 |
commit | 3948fb1198bb7aefea995da09940432378965af9 (patch) | |
tree | 7d0c8554abad07ee5a5b770286cf113dc4e8817b /src/sdp-xml.h | |
parent | 0b9e64bed3db00188554aaac6251568892eedee1 (diff) | |
download | bluez-3948fb1198bb7aefea995da09940432378965af9.tar.gz |
Fix empty parameter list in functions declarations
Use foo(void) instead of foo() for parameterless functions declaration.
This allows compiler to check if foo is called without parameters.
Diffstat (limited to 'src/sdp-xml.h')
-rw-r--r-- | src/sdp-xml.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdp-xml.h b/src/sdp-xml.h index 703127696..db7db3010 100644 --- a/src/sdp-xml.h +++ b/src/sdp-xml.h @@ -49,7 +49,7 @@ struct sdp_xml_data { /* TODO: What is it used for? */ }; -struct sdp_xml_data *sdp_xml_data_alloc(); +struct sdp_xml_data *sdp_xml_data_alloc(void); void sdp_xml_data_free(struct sdp_xml_data *elem); struct sdp_xml_data *sdp_xml_data_expand(struct sdp_xml_data *elem); |