Blame shared/nm-libnm-compat.h

Packit Service d328f3
/* NetworkManager -- Network link manager
Packit Service d328f3
 *
Packit Service d328f3
 * This library is free software; you can redistribute it and/or
Packit Service d328f3
 * modify it under the terms of the GNU Lesser General Public
Packit Service d328f3
 * License as published by the Free Software Foundation; either
Packit Service d328f3
 * version 2 of the License, or (at your option) any later version.
Packit Service d328f3
 *
Packit Service d328f3
 * This library is distributed in the hope that it will be useful,
Packit Service d328f3
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service d328f3
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service d328f3
 * Lesser General Public License for more details.
Packit Service d328f3
 *
Packit Service d328f3
 * You should have received a copy of the GNU Lesser General Public
Packit Service d328f3
 * License along with this library; if not, write to the
Packit Service d328f3
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Packit Service d328f3
 * Boston, MA 02110-1301 USA.
Packit Service d328f3
 *
Packit Service d328f3
 * (C) Copyright 2016 Red Hat, Inc.
Packit Service d328f3
 */
Packit Service d328f3
Packit Service d328f3
#ifndef __NM_LIBNM_COMPAT_H__
Packit Service d328f3
#define __NM_LIBNM_COMPAT_H__
Packit Service d328f3
Packit Service d328f3
#define NM_LIBNM_COMPAT_UNDEPRECATE(cmd) \
Packit Service d328f3
	({ \
Packit Service d328f3
		G_GNUC_BEGIN_IGNORE_DEPRECATIONS \
Packit Service d328f3
		(cmd); \
Packit Service d328f3
		G_GNUC_END_IGNORE_DEPRECATIONS \
Packit Service d328f3
	})
Packit Service d328f3
Packit Service d328f3
#endif /* __NM_LIBNM_COMPAT_H__ */