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:
		| @@ -26,7 +26,6 @@ | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "helpers.h" | ||||
| #include "rc.h" | ||||
|  | ||||
| #define RC_LEVEL_BOOT           "boot" | ||||
| #define RC_LEVEL_DEFAULT        "default" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -30,6 +30,7 @@ | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "einfo.h" | ||||
| #include "rc.h" | ||||
| #include "rc-misc.h" | ||||
| #include "rc-selinux.h" | ||||
| #include "_usage.h" | ||||
|   | ||||
| @@ -28,6 +28,7 @@ | ||||
| #include <unistd.h> | ||||
|  | ||||
| #include "einfo.h" | ||||
| #include "rc.h" | ||||
| #include "rc-misc.h" | ||||
|  | ||||
| const char *applet = NULL; | ||||
|   | ||||
| @@ -15,6 +15,7 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
|  | ||||
| #include "rc.h" | ||||
| #include "rc-misc.h" | ||||
|  | ||||
| int main(int argc, char **argv) | ||||
|   | ||||
| @@ -15,6 +15,7 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
|  | ||||
| #include "rc.h" | ||||
| #include "rc-misc.h" | ||||
|  | ||||
| int main(int argc, char **argv) | ||||
|   | ||||
| @@ -30,6 +30,7 @@ | ||||
| #include <utime.h> | ||||
|  | ||||
| #include "einfo.h" | ||||
| #include "rc.h" | ||||
| #include "rc-misc.h" | ||||
| #include "_usage.h" | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user