diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2016-01-14 12:52:21 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2016-01-14 12:52:32 -0600 |
commit | f5e06bc55ab1717ddff8c21f00f48cfcba8cb4a7 (patch) | |
tree | 9b0c6da31da1dcbbbb7a32f30ad1825410e52666 /src | |
parent | e7ae08c38d4753d8d54a4ed60ca98794d85aadd9 (diff) |
include rc.h properly in source files
We were attempting to include rc.h in rc-misc.h instead of the source
files where it should be included.
Diffstat (limited to 'src')
-rw-r--r-- | src/includes/rc-misc.h | 1 | ||||
-rw-r--r-- | src/rc/_usage.c | 1 | ||||
-rw-r--r-- | src/rc/checkpath.c | 1 | ||||
-rw-r--r-- | src/rc/do_value.c | 1 | ||||
-rw-r--r-- | src/rc/is_newer_than.c | 1 | ||||
-rw-r--r-- | src/rc/is_older_than.c | 1 | ||||
-rw-r--r-- | src/rc/swclock.c | 1 |
7 files changed, 6 insertions, 1 deletions
diff --git a/src/includes/rc-misc.h b/src/includes/rc-misc.h index 96166341..f2449cd7 100644 --- a/src/includes/rc-misc.h +++ b/src/includes/rc-misc.h @@ -26,7 +26,6 @@ #include <unistd.h> #include "helpers.h" -#include "rc.h" #define RC_LEVEL_BOOT "boot" #define RC_LEVEL_DEFAULT "default" diff --git a/src/rc/_usage.c b/src/rc/_usage.c index f0c7f0fc..9fc3e5d8 100644 --- a/src/rc/_usage.c +++ b/src/rc/_usage.c @@ -13,6 +13,7 @@ #include <ctype.h> #include <stdio.h> #include <stdlib.h> +#include "rc.h" #include "rc-misc.h" #include "_usage.h" #include "version.h" diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c index c44ffe8d..b1509940 100644 --- a/src/rc/checkpath.c +++ b/src/rc/checkpath.c @@ -30,6 +30,7 @@ #include <unistd.h> #include "einfo.h" +#include "rc.h" #include "rc-misc.h" #include "rc-selinux.h" #include "_usage.h" diff --git a/src/rc/do_value.c b/src/rc/do_value.c index a511afd9..e6aa3ef0 100644 --- a/src/rc/do_value.c +++ b/src/rc/do_value.c @@ -28,6 +28,7 @@ #include <unistd.h> #include "einfo.h" +#include "rc.h" #include "rc-misc.h" const char *applet = NULL; diff --git a/src/rc/is_newer_than.c b/src/rc/is_newer_than.c index f1aa9d61..4093ea82 100644 --- a/src/rc/is_newer_than.c +++ b/src/rc/is_newer_than.c @@ -15,6 +15,7 @@ #include <stdio.h> #include <stdlib.h> +#include "rc.h" #include "rc-misc.h" int main(int argc, char **argv) diff --git a/src/rc/is_older_than.c b/src/rc/is_older_than.c index 87d56414..aea5377e 100644 --- a/src/rc/is_older_than.c +++ b/src/rc/is_older_than.c @@ -15,6 +15,7 @@ #include <stdio.h> #include <stdlib.h> +#include "rc.h" #include "rc-misc.h" int main(int argc, char **argv) diff --git a/src/rc/swclock.c b/src/rc/swclock.c index 4b62a460..8245f116 100644 --- a/src/rc/swclock.c +++ b/src/rc/swclock.c @@ -30,6 +30,7 @@ #include <utime.h> #include "einfo.h" +#include "rc.h" #include "rc-misc.h" #include "_usage.h" |