From 334a8a54be55cc223dfd553f8d6e14f15a995561 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Thu, 12 Jan 2017 14:35:52 +0100 Subject: [PATCH] libnm-core: fix documentation warnings libnm-core/nm-setting-8021x.c:658: Warning: NM: nm_setting_802_1x_set_ca_cert: unknown parameter 'value' in documentation comment, should be 'cert_path' libnm-core/nm-setting-8021x.c:1023: Warning: NM: nm_setting_802_1x_set_client_cert: unknown parameter 'value' in documentation comment, should be 'cert_path' libnm-core/nm-setting-8021x.c:1331: Warning: NM: nm_setting_802_1x_set_phase2_ca_cert: unknown parameter 'value' in documentation comment, should be 'cert_path' libnm-core/nm-setting-8021x.c:1702: Warning: NM: nm_setting_802_1x_set_phase2_client_cert: unknown parameter 'value' in documentation comment, should be 'cert_path' libnm-core/nm-setting-8021x.c:2027: Warning: NM: nm_setting_802_1x_set_private_key: unknown parameter 'value' in documentation comment, should be 'key_path' libnm-core/nm-setting-8021x.c:2374: Warning: NM: nm_setting_802_1x_set_phase2_private_key: unknown parameter 'value' in documentation comment, should be 'key_path' Fixes: 2b09cee6fa145871f56895e420ac38f6ce5cee9b --- libnm-core/nm-setting-8021x.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libnm-core/nm-setting-8021x.h b/libnm-core/nm-setting-8021x.h index 393a2d35de..9e58e4e225 100644 --- a/libnm-core/nm-setting-8021x.h +++ b/libnm-core/nm-setting-8021x.h @@ -184,7 +184,7 @@ const char * nm_setting_802_1x_get_ca_cert_path (NMSetting8 NM_AVAILABLE_IN_1_6 const char * nm_setting_802_1x_get_ca_cert_uri (NMSetting8021x *setting); gboolean nm_setting_802_1x_set_ca_cert (NMSetting8021x *setting, - const char *cert_path, + const char *value, NMSetting8021xCKScheme scheme, NMSetting8021xCKFormat *out_format, GError **error); @@ -210,7 +210,7 @@ const char * nm_setting_802_1x_get_client_cert_path (NMSetting8 NM_AVAILABLE_IN_1_6 const char * nm_setting_802_1x_get_client_cert_uri (NMSetting8021x *setting); gboolean nm_setting_802_1x_set_client_cert (NMSetting8021x *setting, - const char *cert_path, + const char *value, NMSetting8021xCKScheme scheme, NMSetting8021xCKFormat *out_format, GError **error); @@ -231,7 +231,7 @@ const char * nm_setting_802_1x_get_phase2_ca_cert_path (NMSetting8 NM_AVAILABLE_IN_1_6 const char * nm_setting_802_1x_get_phase2_ca_cert_uri (NMSetting8021x *setting); gboolean nm_setting_802_1x_set_phase2_ca_cert (NMSetting8021x *setting, - const char *cert_path, + const char *value, NMSetting8021xCKScheme scheme, NMSetting8021xCKFormat *out_format, GError **error); @@ -257,7 +257,7 @@ const char * nm_setting_802_1x_get_phase2_client_cert_path (NMSett NM_AVAILABLE_IN_1_6 const char * nm_setting_802_1x_get_phase2_client_cert_uri (NMSetting8021x *setting); gboolean nm_setting_802_1x_set_phase2_client_cert (NMSetting8021x *setting, - const char *cert_path, + const char *value, NMSetting8021xCKScheme scheme, NMSetting8021xCKFormat *out_format, GError **error); @@ -276,7 +276,7 @@ const char * nm_setting_802_1x_get_private_key_path (NMSett NM_AVAILABLE_IN_1_6 const char * nm_setting_802_1x_get_private_key_uri (NMSetting8021x *setting); gboolean nm_setting_802_1x_set_private_key (NMSetting8021x *setting, - const char *key_path, + const char *value, const char *password, NMSetting8021xCKScheme scheme, NMSetting8021xCKFormat *out_format, @@ -292,7 +292,7 @@ const char * nm_setting_802_1x_get_phase2_private_key_path (NMSett NM_AVAILABLE_IN_1_6 const char * nm_setting_802_1x_get_phase2_private_key_uri (NMSetting8021x *setting); gboolean nm_setting_802_1x_set_phase2_private_key (NMSetting8021x *setting, - const char *key_path, + const char *value, const char *password, NMSetting8021xCKScheme scheme, NMSetting8021xCKFormat *out_format,