core: don't use libnm-core private header outside of libnm-core/

Code outside of libnm-core/ should not include the private headers.
nm-core-internal.h should be used instead.

Fixes: 98fe073fb9

Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
Thomas Haller 2014-10-27 21:12:07 +01:00
parent d0535cafe5
commit 4ae958757b
3 changed files with 4 additions and 4 deletions

View file

@ -81,6 +81,9 @@ GPtrArray *_nm_utils_copy_array (const GPtrArray *array,
GDestroyNotify free_func);
GPtrArray *_nm_utils_copy_object_array (const GPtrArray *array);
gboolean _nm_utils_string_in_list (const char *str,
const char **valid_strings);
void _nm_dbus_errors_init (void);
#endif

View file

@ -23,9 +23,6 @@
#include "nm-setting-private.h"
gboolean _nm_utils_string_in_list (const char *str,
const char **valid_strings);
gboolean _nm_utils_string_slist_validate (GSList *list,
const char **valid_values);

View file

@ -71,7 +71,7 @@
#include "nm-dispatcher.h"
#include "nm-config.h"
#include "nm-dns-manager.h"
#include "nm-utils-private.h"
#include "nm-core-internal.h"
#include "nm-device-logging.h"
_LOG_DECLARE_SELF (NMDevice);