diff --git a/include/gsupplicant_interface.h b/include/gsupplicant_interface.h index b308740..1a9b27f 100644 --- a/include/gsupplicant_interface.h +++ b/include/gsupplicant_interface.h @@ -1,6 +1,6 @@ /* - * Copyright (C) 2015-2018 Jolla Ltd. - * Copyright (C) 2015-2018 Slava Monich + * Copyright (C) 2015-2020 Jolla Ltd. + * Copyright (C) 2015-2020 Slava Monich * * You may use this file under the terms of BSD license as follows: * @@ -14,8 +14,8 @@ * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the names of the copyright holders nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE @@ -487,7 +487,7 @@ gsupplicant_interface_add_eap_status_handler( GSupplicantInterfaceEapStatusFunc fn, void* data); /* Since: 1.0.17 */ -G_INLINE_FUNC const char* +GSUPPLICANT_INLINE const char* gsupplicant_interface_get_state_name(GSupplicantInterface* iface) { return iface ? gsupplicant_interface_state_name(iface->state) : NULL; } diff --git a/src/gsupplicant_bss.c b/src/gsupplicant_bss.c index 7022dfc..2390a4d 100644 --- a/src/gsupplicant_bss.c +++ b/src/gsupplicant_bss.c @@ -1,6 +1,6 @@ /* - * Copyright (C) 2015-2018 Jolla Ltd. - * Copyright (C) 2015-2018 Slava Monich + * Copyright (C) 2015-2020 Jolla Ltd. + * Copyright (C) 2015-2020 Slava Monich * * You may use this file under the terms of BSD license as follows: * @@ -14,8 +14,8 @@ * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the names of the copyright holders nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE @@ -30,6 +30,8 @@ * THE POSSIBILITY OF SUCH DAMAGE. */ +#define GLIB_DISABLE_DEPRECATION_WARNINGS /* G_ADD_PRIVATE */ + #include "gsupplicant_bss.h" #include "gsupplicant_interface.h" #include "gsupplicant_util_p.h" diff --git a/src/gsupplicant_interface.c b/src/gsupplicant_interface.c index fa9ef9b..4044d1f 100644 --- a/src/gsupplicant_interface.c +++ b/src/gsupplicant_interface.c @@ -1,6 +1,6 @@ /* - * Copyright (C) 2015-2018 Jolla Ltd. - * Copyright (C) 2015-2018 Slava Monich + * Copyright (C) 2015-2020 Jolla Ltd. + * Copyright (C) 2015-2020 Slava Monich * * You may use this file under the terms of BSD license as follows: * @@ -14,8 +14,8 @@ * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the names of the copyright holders nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE @@ -30,6 +30,8 @@ * THE POSSIBILITY OF SUCH DAMAGE. */ +#define GLIB_DISABLE_DEPRECATION_WARNINGS /* G_ADD_PRIVATE */ + #include "gsupplicant_interface.h" #include "gsupplicant_network.h" #include "gsupplicant_bss.h" diff --git a/src/gsupplicant_network.c b/src/gsupplicant_network.c index 3fe3fad..3043623 100644 --- a/src/gsupplicant_network.c +++ b/src/gsupplicant_network.c @@ -1,6 +1,6 @@ /* - * Copyright (C) 2015-2018 Jolla Ltd. - * Copyright (C) 2015-2018 Slava Monich + * Copyright (C) 2015-2020 Jolla Ltd. + * Copyright (C) 2015-2020 Slava Monich * * You may use this file under the terms of BSD license as follows: * @@ -14,8 +14,8 @@ * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the names of the copyright holders nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE @@ -30,6 +30,8 @@ * THE POSSIBILITY OF SUCH DAMAGE. */ +#define GLIB_DISABLE_DEPRECATION_WARNINGS /* G_ADD_PRIVATE */ + #include "gsupplicant_network.h" #include "gsupplicant_interface.h" #include "gsupplicant_dbus.h"