Blame shared/nm-libnm-compat.h

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