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.
This commit is contained in:
William Hubbs 2016-01-14 12:52:21 -06:00
parent e7ae08c38d
commit f5e06bc55a
7 changed files with 6 additions and 1 deletions

View File

@ -26,7 +26,6 @@
#include <unistd.h> #include <unistd.h>
#include "helpers.h" #include "helpers.h"
#include "rc.h"
#define RC_LEVEL_BOOT "boot" #define RC_LEVEL_BOOT "boot"
#define RC_LEVEL_DEFAULT "default" #define RC_LEVEL_DEFAULT "default"

View File

@ -13,6 +13,7 @@
#include <ctype.h> #include <ctype.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "rc.h"
#include "rc-misc.h" #include "rc-misc.h"
#include "_usage.h" #include "_usage.h"
#include "version.h" #include "version.h"

View File

@ -30,6 +30,7 @@
#include <unistd.h> #include <unistd.h>
#include "einfo.h" #include "einfo.h"
#include "rc.h"
#include "rc-misc.h" #include "rc-misc.h"
#include "rc-selinux.h" #include "rc-selinux.h"
#include "_usage.h" #include "_usage.h"

View File

@ -28,6 +28,7 @@
#include <unistd.h> #include <unistd.h>
#include "einfo.h" #include "einfo.h"
#include "rc.h"
#include "rc-misc.h" #include "rc-misc.h"
const char *applet = NULL; const char *applet = NULL;

View File

@ -15,6 +15,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "rc.h"
#include "rc-misc.h" #include "rc-misc.h"
int main(int argc, char **argv) int main(int argc, char **argv)

View File

@ -15,6 +15,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "rc.h"
#include "rc-misc.h" #include "rc-misc.h"
int main(int argc, char **argv) int main(int argc, char **argv)

View File

@ -30,6 +30,7 @@
#include <utime.h> #include <utime.h>
#include "einfo.h" #include "einfo.h"
#include "rc.h"
#include "rc-misc.h" #include "rc-misc.h"
#include "_usage.h" #include "_usage.h"