diff options
author | Dan Winship <danw@gnome.org> | 2014-11-13 10:07:02 -0500 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2014-11-13 17:18:42 -0500 |
commit | 3bfb163a74fb98698b03d8a605b0164869a2ed4a (patch) | |
tree | 9aff34e20cafdfdce5fed6dc98e2e1a1b07e7a3c /callouts | |
parent | 125f7c4d40b7048209d031b3322e46e081d7c328 (diff) | |
download | NetworkManager-3bfb163a74fb98698b03d8a605b0164869a2ed4a.tar.gz |
all: consistently include config.h
config.h should be included from every .c file, and it should be
included before any other include. Fix that.
(As a side effect of how I did this, this also changes us to
consistently use "config.h" rather than <config.h>. To the extent that
it matters [which is not much], quotes are more correct anyway, since
we're talking about a file in our own build tree, not a system
include.)
Diffstat (limited to 'callouts')
-rw-r--r-- | callouts/nm-avahi-autoipd-action.c | 2 | ||||
-rw-r--r-- | callouts/nm-dispatcher-utils.c | 3 | ||||
-rw-r--r-- | callouts/nm-dispatcher.c | 2 | ||||
-rw-r--r-- | callouts/tests/test-dispatcher-envp.c | 3 |
4 files changed, 8 insertions, 2 deletions
diff --git a/callouts/nm-avahi-autoipd-action.c b/callouts/nm-avahi-autoipd-action.c index 48969df1b9..b28dae5d21 100644 --- a/callouts/nm-avahi-autoipd-action.c +++ b/callouts/nm-avahi-autoipd-action.c @@ -18,6 +18,8 @@ * Copyright 2008, 2014 Red Hat, Inc. */ +#include "config.h" + #include <stdlib.h> #include <string.h> diff --git a/callouts/nm-dispatcher-utils.c b/callouts/nm-dispatcher-utils.c index 8d7274329c..ab7fda660e 100644 --- a/callouts/nm-dispatcher-utils.c +++ b/callouts/nm-dispatcher-utils.c @@ -18,7 +18,8 @@ * Copyright (C) 2008 - 2011 Red Hat, Inc. */ -#include <config.h> +#include "config.h" + #include <string.h> #include <glib-object.h> diff --git a/callouts/nm-dispatcher.c b/callouts/nm-dispatcher.c index 19220654f9..dafe4f6e63 100644 --- a/callouts/nm-dispatcher.c +++ b/callouts/nm-dispatcher.c @@ -18,6 +18,8 @@ * Copyright (C) 2008 - 2012 Red Hat, Inc. */ +#include "config.h" + #include <syslog.h> #include <stdio.h> #include <unistd.h> diff --git a/callouts/tests/test-dispatcher-envp.c b/callouts/tests/test-dispatcher-envp.c index 423d29fd83..460174b230 100644 --- a/callouts/tests/test-dispatcher-envp.c +++ b/callouts/tests/test-dispatcher-envp.c @@ -18,7 +18,8 @@ * */ -#include <config.h> +#include "config.h" + #include <arpa/inet.h> #include <stdlib.h> #include <string.h> |