summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2022-05-05 12:04:36 +0200
committerLubomir Rintel <lkundrak@v3.sk>2022-05-06 18:33:27 +0200
commita3174af914d2d5ed57d74fa5d76a9b965fd1f382 (patch)
treec20ae6a2ad73ed221aa66f292098aaad88c5924d
parent649314ddaa4c34feca2d9bc5821edc331a890255 (diff)
downloadNetworkManager-a3174af914d2d5ed57d74fa5d76a9b965fd1f382.tar.gz
libnm: fix placement of some "Since:" tags
libnm-client-impl/nm-client.c:8398: warning: multi-line since docs found libnm-client-impl/nm-device-macvlan.c:115: warning: multi-line since docs found libnm-client-impl/nm-device-vxlan.c:540: warning: multi-line since docs found libnm-client-impl/nm-device-vxlan.c:92: warning: multi-line since docs found libnm-core-impl/nm-setting-ethtool.c:41: warning: multi-line since docs found libnm-core-impl/nm-setting-ip-config.c:2475: warning: multi-line since docs found libnm-core-impl/nm-setting-ip-config.c:2504: warning: multi-line since docs found
-rw-r--r--src/libnm-client-impl/nm-client.c4
-rw-r--r--src/libnm-client-impl/nm-device-macvlan.c4
-rw-r--r--src/libnm-client-impl/nm-device-vxlan.c8
-rw-r--r--src/libnm-core-impl/nm-setting-ethtool.c4
-rw-r--r--src/libnm-core-impl/nm-setting-ip-config.c8
5 files changed, 14 insertions, 14 deletions
diff --git a/src/libnm-client-impl/nm-client.c b/src/libnm-client-impl/nm-client.c
index dbd201d285..5155705376 100644
--- a/src/libnm-client-impl/nm-client.c
+++ b/src/libnm-client-impl/nm-client.c
@@ -8399,9 +8399,9 @@ nm_client_class_init(NMClientClass *client_class)
*
* Whether a connectivity checking service has been enabled.
*
- * Since: 1.10
- *
* The property setter is a synchronous D-Bus call. This is deprecated since 1.22.
+ *
+ * Since: 1.10
*/
obj_properties[PROP_CONNECTIVITY_CHECK_ENABLED] =
g_param_spec_boolean(NM_CLIENT_CONNECTIVITY_CHECK_ENABLED,
diff --git a/src/libnm-client-impl/nm-device-macvlan.c b/src/libnm-client-impl/nm-device-macvlan.c
index a8363c930c..be6d56e44c 100644
--- a/src/libnm-client-impl/nm-device-macvlan.c
+++ b/src/libnm-client-impl/nm-device-macvlan.c
@@ -120,11 +120,11 @@ nm_device_macvlan_get_tap(NMDeviceMacvlan *device)
* Returns: the hardware address. This is the internal string used by the
* device, and must not be modified.
*
- * Since: 1.2
- *
* This property is not implemented yet, and the function always return NULL.
*
* Deprecated: 1.24: Use nm_device_get_hw_address() instead.
+ *
+ * Since: 1.2
**/
const char *
nm_device_macvlan_get_hw_address(NMDeviceMacvlan *device)
diff --git a/src/libnm-client-impl/nm-device-vxlan.c b/src/libnm-client-impl/nm-device-vxlan.c
index d7bd9cbe94..d81b551601 100644
--- a/src/libnm-client-impl/nm-device-vxlan.c
+++ b/src/libnm-client-impl/nm-device-vxlan.c
@@ -96,10 +96,10 @@ nm_device_vxlan_get_hw_address(NMDeviceVxlan *device)
*
* Returns: %TRUE if the device has carrier.
*
- * Since: 1.2
- *
* This property is not implemented yet, and the function always returns
* FALSE.
+ *
+ * Since: 1.2
**/
gboolean
nm_device_vxlan_get_carrier(NMDeviceVxlan *device)
@@ -541,9 +541,9 @@ nm_device_vxlan_class_init(NMDeviceVxlanClass *klass)
*
* Whether the device has carrier.
*
- * Since: 1.2
- *
* This property is not implemented yet, and the property is always FALSE.
+ *
+ * Since: 1.2
**/
obj_properties[PROP_CARRIER] = g_param_spec_boolean(NM_DEVICE_VXLAN_CARRIER,
"",
diff --git a/src/libnm-core-impl/nm-setting-ethtool.c b/src/libnm-core-impl/nm-setting-ethtool.c
index 49c0d78097..71179efd39 100644
--- a/src/libnm-core-impl/nm-setting-ethtool.c
+++ b/src/libnm-core-impl/nm-setting-ethtool.c
@@ -45,11 +45,11 @@ get_variant_type_from_ethtool_id(NMEthtoolID ethtool_id)
*
* %Returns: %TRUE, if @optname is valid
*
- * Since: 1.20
- *
* Note that nm_ethtool_optname_is_feature() was first added to the libnm header files
* in 1.14.0 but forgot to actually add to the library. This happened belatedly in 1.20.0 and
* the stable versions 1.18.2, 1.16.4 and 1.14.8 (with linker version "libnm_1_14_8").
+ *
+ * Since: 1.20
*/
gboolean
nm_ethtool_optname_is_feature(const char *optname)
diff --git a/src/libnm-core-impl/nm-setting-ip-config.c b/src/libnm-core-impl/nm-setting-ip-config.c
index cffd5b19ff..25c2dc5d4a 100644
--- a/src/libnm-core-impl/nm-setting-ip-config.c
+++ b/src/libnm-core-impl/nm-setting-ip-config.c
@@ -2481,10 +2481,10 @@ nm_ip_routing_rule_set_suppress_prefixlength(NMIPRoutingRule *self, gint32 suppr
*
* Returns: %TRUE if a uid range is set.
*
- * Since: 1.34
- *
* This API was wrongly introduced in the header files for 1.32, but the
* symbols were not exported. The API only works since 1.34 and newer.
+ *
+ * Since: 1.34
*/
gboolean
nm_ip_routing_rule_get_uid_range(const NMIPRoutingRule *self,
@@ -2509,10 +2509,10 @@ nm_ip_routing_rule_get_uid_range(const NMIPRoutingRule *self,
* For a valid range, start must be less or equal to end.
* If set to an invalid range, the range gets unset.
*
- * Since: 1.34
- *
* This API was wrongly introduced in the header files for 1.32, but the
* symbols were not exported. The API only works since 1.34 and newer.
+ *
+ * Since: 1.34
*/
void
nm_ip_routing_rule_set_uid_range(NMIPRoutingRule *self,