summaryrefslogtreecommitdiff
path: root/src/sdp-xml.h
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2011-05-04 11:28:57 +0200
committerJohan Hedberg <jh@dell.(none)>2011-05-15 01:47:05 +0300
commit3948fb1198bb7aefea995da09940432378965af9 (patch)
tree7d0c8554abad07ee5a5b770286cf113dc4e8817b /src/sdp-xml.h
parent0b9e64bed3db00188554aaac6251568892eedee1 (diff)
downloadbluez-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.h2
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);