Use <> instead of "" for external header includes

Libraries and system headers should be included with <> instead of "".
This makes a great difference for the automatic dependency tracking.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2016-07-12 15:32:36 +02:00
1 parent 51f61939da
commit 88a4ebf9e7
27 files changed
+33 -33

No files matched your search

+1 -1
View File
@@ -21,10 +21,10 @@
* THE SOFTWARE.
*/
#include <lite/lite.h>
#include "../finit.h"
#include "../helpers.h"
#include "../plugin.h"
#include "lite/lite.h"
static void save(void *UNUSED(arg))
{
+1 -1
View File
@@ -23,12 +23,12 @@
#include <string.h>
#include <utmp.h>
#include <lite/lite.h>
#include "../config.h"
#include "../finit.h"
#include "../helpers.h"
#include "../plugin.h"
#include "lite/lite.h"
/*
* Setup standard FHS 2.3 structure in /var, and write runlevel to UTMP
+1 -1
View File
@@ -22,12 +22,12 @@
*/
#include <sys/types.h>
#include <lite/lite.h>
#include "../finit.h"
#include "../config.h"
#include "../helpers.h"
#include "../plugin.h"
#include "lite/lite.h"
static void setup(void *UNUSED(arg))
{
+2 -1
View File
@@ -21,10 +21,11 @@
* THE SOFTWARE.
*/
#include <lite/lite.h>
#include "../finit.h"
#include "../helpers.h"
#include "../plugin.h"
#include "lite/lite.h"
static void save(void *UNUSED(arg))
{
+1 -1
View File
@@ -30,6 +30,7 @@
#include <string.h>
#include <unistd.h> /* read() */
#include <sys/stat.h>
#include <lite/lite.h>
#include "../finit.h"
#include "../conf.h"
@@ -37,7 +38,6 @@
#include "../plugin.h"
#include "../sig.h"
#include "../service.h"
#include "lite/lite.h"
static void parse(void *arg, int fd, int events);
+2 -1
View File
@@ -21,10 +21,11 @@
* THE SOFTWARE.
*/
#include <lite/lite.h>
#include "../finit.h"
#include "../helpers.h"
#include "../plugin.h"
#include "lite/lite.h"
static void setup(void *UNUSED(arg))
{
+1 -1
View File
@@ -27,12 +27,12 @@
#include <unistd.h> /* read() */
#include <sys/inotify.h>
#include <sys/stat.h>
#include <lite/lite.h>
#include "../finit.h"
#include "../helpers.h"
#include "../plugin.h"
#include "../tty.h"
#include "lite/lite.h"
static void watcher(void *arg, int fd, int events);
+1 -1
View File
@@ -25,12 +25,12 @@
#include <sys/stat.h>
#include <sys/time.h> /* gettimeofday() */
#include <sys/types.h>
#include <lite/lite.h>
#include "../config.h"
#include "../finit.h"
#include "../helpers.h"
#include "../plugin.h"
#include "lite/lite.h"
static void setup(void *UNUSED(arg))
{
+1 -1
View File
@@ -24,11 +24,11 @@
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <lite/lite.h>
#include "../finit.h"
#include "../helpers.h"
#include "../plugin.h"
#include "lite/lite.h"
static void setup(void *UNUSED(arg))
{