shared: add nm-utils/nm-compat.h
This commit is contained in:
@@ -670,6 +670,7 @@ libnm_core_tests_test_setting_dcb_CPPFLAGS = $(libnm_core_tests_cppflags)
|
|||||||
libnm_core_tests_test_settings_defaults_CPPFLAGS = $(libnm_core_tests_cppflags)
|
libnm_core_tests_test_settings_defaults_CPPFLAGS = $(libnm_core_tests_cppflags)
|
||||||
|
|
||||||
libnm_core_tests_test_general_SOURCES = \
|
libnm_core_tests_test_general_SOURCES = \
|
||||||
|
shared/nm-utils/nm-compat.c \
|
||||||
libnm-core/tests/test-general-enums.h \
|
libnm-core/tests/test-general-enums.h \
|
||||||
libnm-core/tests/test-general.c
|
libnm-core/tests/test-general.c
|
||||||
|
|
||||||
@@ -4565,6 +4566,8 @@ EXTRA_DIST += \
|
|||||||
shared/nm-utils/c-list-util.c \
|
shared/nm-utils/c-list-util.c \
|
||||||
shared/nm-utils/c-list-util.h \
|
shared/nm-utils/c-list-util.h \
|
||||||
shared/nm-utils/gsystem-local-alloc.h \
|
shared/nm-utils/gsystem-local-alloc.h \
|
||||||
|
shared/nm-utils/nm-compat.c \
|
||||||
|
shared/nm-utils/nm-compat.h \
|
||||||
shared/nm-utils/nm-glib.h \
|
shared/nm-utils/nm-glib.h \
|
||||||
shared/nm-utils/nm-jansson.h \
|
shared/nm-utils/nm-jansson.h \
|
||||||
shared/nm-utils/nm-obj.h \
|
shared/nm-utils/nm-obj.h \
|
||||||
|
25
shared/nm-utils/nm-compat.c
Normal file
25
shared/nm-utils/nm-compat.c
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
||||||
|
/* NetworkManager -- Network link manager
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, write to the
|
||||||
|
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
* Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* (C) Copyright 2017 Red Hat, Inc.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "nm-default.h"
|
||||||
|
|
||||||
|
#include "nm-compat.h"
|
||||||
|
|
26
shared/nm-utils/nm-compat.h
Normal file
26
shared/nm-utils/nm-compat.h
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
||||||
|
/* NetworkManager -- Network link manager
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, write to the
|
||||||
|
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
* Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* (C) Copyright 2017 Red Hat, Inc.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __NM_COMPAT_H__
|
||||||
|
#define __NM_COMPAT_H__
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* __NM_COMPAT_H__ */
|
Reference in New Issue
Block a user