summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2016-02-08 23:25:21 +0100
committerJens Georg <mail@jensge.org>2016-02-08 23:25:42 +0100
commitbc0f0e865613b93dac61824aaec58af54d91330b (patch)
tree471bc46e73aed696e5b3b58a9f38d77ab1c26562
parenta180f3b64f163027e267721e00bb9414bf72e0da (diff)
downloadgupnp-av-bc0f0e865613b93dac61824aaec58af54d91330b.tar.gz
Fix annotations for functions returning void
Signed-off-by: Jens Georg <mail@jensge.org>
-rw-r--r--libgupnp-av/gupnp-didl-lite-container.c8
-rw-r--r--libgupnp-av/gupnp-didl-lite-contributor.c4
-rw-r--r--libgupnp-av/gupnp-didl-lite-descriptor.c8
-rw-r--r--libgupnp-av/gupnp-didl-lite-resource.c38
-rw-r--r--libgupnp-av/gupnp-didl-lite-writer.c2
-rw-r--r--libgupnp-av/gupnp-protocol-info.c16
6 files changed, 0 insertions, 76 deletions
diff --git a/libgupnp-av/gupnp-didl-lite-container.c b/libgupnp-av/gupnp-didl-lite-container.c
index ede5a4a..365b266 100644
--- a/libgupnp-av/gupnp-didl-lite-container.c
+++ b/libgupnp-av/gupnp-didl-lite-container.c
@@ -745,8 +745,6 @@ gupnp_didl_lite_container_unset_total_deleted_child_count
* @create_class: The createClass to add.
*
* Add a new create class to the @container. includeDerived defaults to "0".
- *
- * Return value: None.
**/
void
gupnp_didl_lite_container_add_create_class (
@@ -766,8 +764,6 @@ gupnp_didl_lite_container_add_create_class (
* this container or not.
*
* Add a new create class to the @container.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_container_add_create_class_full (
@@ -807,8 +803,6 @@ gupnp_didl_lite_container_add_create_class_full (
* @search_class: The searchClass to add.
*
* Add a new search class to the @container.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_container_add_search_class (
@@ -827,8 +821,6 @@ gupnp_didl_lite_container_add_search_class (
* @include_derived: includeDerived attribute of the DIDL
*
* Add a new search class to the @container.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_container_add_search_class_full (
diff --git a/libgupnp-av/gupnp-didl-lite-contributor.c b/libgupnp-av/gupnp-didl-lite-contributor.c
index b13ec95..d3599fc 100644
--- a/libgupnp-av/gupnp-didl-lite-contributor.c
+++ b/libgupnp-av/gupnp-didl-lite-contributor.c
@@ -277,8 +277,6 @@ gupnp_didl_lite_contributor_get_name (GUPnPDIDLLiteContributor *contributor)
* @role: The role of the @contributor
*
* Set the role of the @contributor to @role.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_contributor_set_role (GUPnPDIDLLiteContributor *contributor,
@@ -300,8 +298,6 @@ gupnp_didl_lite_contributor_set_role (GUPnPDIDLLiteContributor *contributor,
* @name: The name of the contributor
*
* Set the name of the @contributor to @name.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_contributor_set_name (GUPnPDIDLLiteContributor *contributor,
diff --git a/libgupnp-av/gupnp-didl-lite-descriptor.c b/libgupnp-av/gupnp-didl-lite-descriptor.c
index 5389c36..c5927a0 100644
--- a/libgupnp-av/gupnp-didl-lite-descriptor.c
+++ b/libgupnp-av/gupnp-didl-lite-descriptor.c
@@ -412,8 +412,6 @@ gupnp_didl_lite_descriptor_get_name_space (GUPnPDIDLLiteDescriptor *descriptor)
* @content: The content as string
*
* Set the content of the @descriptor.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_descriptor_set_content (GUPnPDIDLLiteDescriptor *descriptor,
@@ -438,8 +436,6 @@ gupnp_didl_lite_descriptor_set_content (GUPnPDIDLLiteDescriptor *descriptor,
* @id: The ID as string
*
* Set the ID of the @descriptor.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_descriptor_set_id (GUPnPDIDLLiteDescriptor *descriptor,
@@ -461,8 +457,6 @@ gupnp_didl_lite_descriptor_set_id (GUPnPDIDLLiteDescriptor *descriptor,
* @type: The metadata type as string
*
* Set the metadata type of the @descriptor.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_descriptor_set_metadata_type
@@ -485,8 +479,6 @@ gupnp_didl_lite_descriptor_set_metadata_type
* @name_space: The name space URI as string
*
* Set the name space associated with the @descriptor.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_descriptor_set_name_space (GUPnPDIDLLiteDescriptor *descriptor,
diff --git a/libgupnp-av/gupnp-didl-lite-resource.c b/libgupnp-av/gupnp-didl-lite-resource.c
index b0744b7..e32f9c9 100644
--- a/libgupnp-av/gupnp-didl-lite-resource.c
+++ b/libgupnp-av/gupnp-didl-lite-resource.c
@@ -1299,8 +1299,6 @@ gupnp_didl_lite_resource_track_total_is_set (GUPnPDIDLLiteResource *resource)
* @uri: The URI as string
*
* Set the URI associated with the @resource.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_resource_set_uri (GUPnPDIDLLiteResource *resource,
@@ -1325,8 +1323,6 @@ gupnp_didl_lite_resource_set_uri (GUPnPDIDLLiteResource *resource,
* @import_uri: The URI as string
*
* Set the import URI associated with the @resource.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_resource_set_import_uri (GUPnPDIDLLiteResource *resource,
@@ -1347,8 +1343,6 @@ gupnp_didl_lite_resource_set_import_uri (GUPnPDIDLLiteResource *resource,
* @info: The protocol string
*
* Set the protocol info associated with the @resource.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_resource_set_protocol_info (GUPnPDIDLLiteResource *resource,
@@ -1392,8 +1386,6 @@ gupnp_didl_lite_resource_set_protocol_info (GUPnPDIDLLiteResource *resource,
*
* Set the size (in bytes) of the @resource. Passing a negative number will
* unset this property.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_resource_set_size (GUPnPDIDLLiteResource *resource,
@@ -1409,8 +1401,6 @@ gupnp_didl_lite_resource_set_size (GUPnPDIDLLiteResource *resource,
*
* Set the size (in bytes) of the @resource. Passing a negative number will
* unset this property.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_resource_set_size64 (GUPnPDIDLLiteResource *resource,
@@ -1442,8 +1432,6 @@ gupnp_didl_lite_resource_set_size64 (GUPnPDIDLLiteResource *resource,
*
* Set the size (in bytes) of the @resource. Passing a negative number will
* unset this property.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_resource_set_cleartext_size
@@ -1481,8 +1469,6 @@ gupnp_didl_lite_resource_set_cleartext_size
*
* Set the duration (in seconds) of the @resource. Passing a negative number
* will unset this property.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_resource_set_duration (GUPnPDIDLLiteResource *resource,
@@ -1513,8 +1499,6 @@ gupnp_didl_lite_resource_set_duration (GUPnPDIDLLiteResource *resource,
*
* Set the bitrate (in bytes per second) of the @resource. Passing a negative
* number will unset this property.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_resource_set_bitrate (GUPnPDIDLLiteResource *resource,
@@ -1545,8 +1529,6 @@ gupnp_didl_lite_resource_set_bitrate (GUPnPDIDLLiteResource *resource,
*
* Set the sample frequency of the @resource. Passing a negative number will
* unset this property.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_resource_set_sample_freq (GUPnPDIDLLiteResource *resource,
@@ -1577,8 +1559,6 @@ gupnp_didl_lite_resource_set_sample_freq (GUPnPDIDLLiteResource *resource,
*
* Set the sample size of the @resource. Passing a negative number will unset
* this property.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_resource_set_bits_per_sample
@@ -1610,8 +1590,6 @@ gupnp_didl_lite_resource_set_bits_per_sample
*
* Set the protection system used by the @resource. Passing a negative number
* will unset this property.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_resource_set_protection (GUPnPDIDLLiteResource *resource,
@@ -1633,8 +1611,6 @@ gupnp_didl_lite_resource_set_protection (GUPnPDIDLLiteResource *resource,
*
* Set the number of audio channels in the @resource. Passing a negative number
* will unset this property.
- *
- * Return value: The number of audio channels in the @resource or -1.
**/
void
gupnp_didl_lite_resource_set_audio_channels (GUPnPDIDLLiteResource *resource,
@@ -1665,8 +1641,6 @@ gupnp_didl_lite_resource_set_audio_channels (GUPnPDIDLLiteResource *resource,
*
* Set the width of this image/video resource. Setting both width and height to
* a negative number will unset the resolution property.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_resource_set_width (GUPnPDIDLLiteResource *resource,
@@ -1700,8 +1674,6 @@ gupnp_didl_lite_resource_set_width (GUPnPDIDLLiteResource *resource,
*
* Set the height of this image/video resource. Setting both width and height to
* a negative number will unset the resolution property.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_resource_set_height (GUPnPDIDLLiteResource *resource,
@@ -1736,8 +1708,6 @@ gupnp_didl_lite_resource_set_height (GUPnPDIDLLiteResource *resource,
*
* Set the color-depth of this image/video resource. Passing a negative number
* will unset this property.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_resource_set_color_depth (GUPnPDIDLLiteResource *resource,
@@ -1767,8 +1737,6 @@ gupnp_didl_lite_resource_set_color_depth (GUPnPDIDLLiteResource *resource,
* @update_count: The update_count
*
* Set the update count of this resource.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_resource_set_update_count (GUPnPDIDLLiteResource *resource,
@@ -1793,8 +1761,6 @@ gupnp_didl_lite_resource_set_update_count (GUPnPDIDLLiteResource *resource,
* @track_total: The total number of tracks in this resource
*
* Set the total number of tracks in this resource.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_resource_set_track_total (GUPnPDIDLLiteResource *resource,
@@ -1824,8 +1790,6 @@ gupnp_didl_lite_resource_set_track_total (GUPnPDIDLLiteResource *resource,
* @resource: A #GUPnPDIDLLiteResource
*
* Unset the update count of this resource.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_resource_unset_update_count (GUPnPDIDLLiteResource *resource)
@@ -1843,8 +1807,6 @@ gupnp_didl_lite_resource_unset_update_count (GUPnPDIDLLiteResource *resource)
* @resource: A #GUPnPDIDLLiteResource
*
* Unset the total track count of this resource.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_resource_unset_track_total (GUPnPDIDLLiteResource *resource)
diff --git a/libgupnp-av/gupnp-didl-lite-writer.c b/libgupnp-av/gupnp-didl-lite-writer.c
index 2afc507..73055ea 100644
--- a/libgupnp-av/gupnp-didl-lite-writer.c
+++ b/libgupnp-av/gupnp-didl-lite-writer.c
@@ -678,8 +678,6 @@ gupnp_didl_lite_writer_get_language (GUPnPDIDLLiteWriter *writer)
* argument of Browse or Search actions from a ContentDirectory control point.
* Please refer to Section 2.3.15 of UPnP AV ContentDirectory version 3
* specification for details on this string.
- *
- * Return value: None.
**/
void
gupnp_didl_lite_writer_filter (GUPnPDIDLLiteWriter *writer,
diff --git a/libgupnp-av/gupnp-protocol-info.c b/libgupnp-av/gupnp-protocol-info.c
index 19e5a07..8ff3e52 100644
--- a/libgupnp-av/gupnp-protocol-info.c
+++ b/libgupnp-av/gupnp-protocol-info.c
@@ -839,8 +839,6 @@ gupnp_protocol_info_get_dlna_flags (GUPnPProtocolInfo *info)
* @protocol: The protocol string
*
* Set the protocol of this info.
- *
- * Return value: None.
**/
void
gupnp_protocol_info_set_protocol (GUPnPProtocolInfo *info,
@@ -861,8 +859,6 @@ gupnp_protocol_info_set_protocol (GUPnPProtocolInfo *info,
* @network: The network string
*
* Set the network this info is associated with.
- *
- * Return value: None.
**/
void
gupnp_protocol_info_set_network (GUPnPProtocolInfo *info,
@@ -883,8 +879,6 @@ gupnp_protocol_info_set_network (GUPnPProtocolInfo *info,
* @mime_type: The MIME-type string
*
* Set the MIME-type of this info.
- *
- * Return value: None.
**/
void
gupnp_protocol_info_set_mime_type (GUPnPProtocolInfo *info,
@@ -905,8 +899,6 @@ gupnp_protocol_info_set_mime_type (GUPnPProtocolInfo *info,
* @profile: The DLNA profile string
*
* Set the DLNA profile of this info.
- *
- * Return value: None.
**/
void
gupnp_protocol_info_set_dlna_profile (GUPnPProtocolInfo *info,
@@ -927,8 +919,6 @@ gupnp_protocol_info_set_dlna_profile (GUPnPProtocolInfo *info,
* @speeds: The allowed play speeds
*
* Set the allowed play speeds on this info in the form of array of strings.
- *
- * Return value: None.
**/
void
gupnp_protocol_info_set_play_speeds (GUPnPProtocolInfo *info,
@@ -949,8 +939,6 @@ gupnp_protocol_info_set_play_speeds (GUPnPProtocolInfo *info,
* @conversion: The bitwise OR of one or more DLNA conversion flags
*
* Set the DLNA conversion flags.
- *
- * Return value: None.
**/
void
gupnp_protocol_info_set_dlna_conversion (GUPnPProtocolInfo *info,
@@ -969,8 +957,6 @@ gupnp_protocol_info_set_dlna_conversion (GUPnPProtocolInfo *info,
* @operation: The bitwise OR of one or more DLNA operation flags
*
* Set the DLNA operation flags.
- *
- * Return value: None.
**/
void
gupnp_protocol_info_set_dlna_operation (GUPnPProtocolInfo *info,
@@ -989,8 +975,6 @@ gupnp_protocol_info_set_dlna_operation (GUPnPProtocolInfo *info,
* @flags: The bitwise OR of one or more generic DLNA flags
*
* Set the gereric DLNA flags.
- *
- * Return value: None.
**/
void
gupnp_protocol_info_set_dlna_flags (GUPnPProtocolInfo *info,