diff options
author | Thomas Haller <thaller@redhat.com> | 2016-11-20 23:44:35 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-11-20 23:48:22 +0100 |
commit | 6f2190a4595676b6b1b37dda415f6b3f7be5935a (patch) | |
tree | b14c0ea0d6ed96534b2aad8f02a2eda65f1fd3a5 | |
parent | 25d83a4802774dfe8be46bd4f854d50a190f1e6d (diff) | |
download | NetworkManager-6f2190a4595676b6b1b37dda415f6b3f7be5935a.tar.gz |
fixup! core: factor out plugin validation
nm-core-utils.h is included by a lot of files. Let's
keep the includes a bit smaller... although, that might
very well be a lost fight already.
-rw-r--r-- | src/nm-core-utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nm-core-utils.h b/src/nm-core-utils.h index 3a2661aafd..9cf196f709 100644 --- a/src/nm-core-utils.h +++ b/src/nm-core-utils.h @@ -24,8 +24,6 @@ #include <stdio.h> #include <arpa/inet.h> -#include <sys/types.h> -#include <sys/stat.h> #include "nm-connection.h" @@ -453,6 +451,8 @@ gboolean nm_utils_file_set_contents (const gchar *filename, mode_t mode, GError **error); +struct stat; + gboolean nm_utils_validate_plugin (const char *path, struct stat *stat, GError **error); char **nm_utils_read_plugin_paths (const char *dirname, const char *prefix); |