tree-wide: sort includes in *.h

This is a continuation of the previous include sort patch, which
only sorted for .c files.
This commit is contained in:
Thomas Hindoe Paaboel Andersen
2015-11-18 23:09:02 +01:00
parent 81ec9ce4a7
commit 71d35b6b55
128 changed files with 208 additions and 167 deletions
+1 -1
View File
@@ -21,8 +21,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include <stdint.h>
#include <stdbool.h>
#include <stdint.h>
#include <sys/types.h>
#define AUDIT_SESSION_INVALID ((uint32_t) -1)
+1 -1
View File
@@ -21,8 +21,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "macro.h"
#include "hashmap.h"
#include "macro.h"
typedef struct Bitmap Bitmap;
+1
View File
@@ -25,6 +25,7 @@
* time, a la cron */
#include <stdbool.h>
#include "util.h"
typedef struct CalendarComponent {
+3 -3
View File
@@ -21,12 +21,12 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include <sys/types.h>
#include <stdio.h>
#include <dirent.h>
#include <stdio.h>
#include <sys/types.h>
#include "set.h"
#include "def.h"
#include "set.h"
/* An enum of well known cgroup controllers */
typedef enum CGroupController {
+1 -1
View File
@@ -21,8 +21,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include <sys/types.h>
#include <inttypes.h>
#include <sys/types.h>
/* What characters are special in the shell? */
/* must be escaped outside and inside double-quotes */
+1 -1
View File
@@ -21,9 +21,9 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include <stdio.h>
#include <dirent.h>
#include <stdbool.h>
#include <stdio.h>
#include <sys/socket.h>
#include "macro.h"
+1
View File
@@ -23,6 +23,7 @@
***/
#include <stdio.h>
#include "fileio.h"
int write_string_file_atomic_label(const char *fn, const char *line);
+1 -1
View File
@@ -22,10 +22,10 @@
***/
#include <fcntl.h>
#include <limits.h>
#include <sys/inotify.h>
#include <sys/types.h>
#include <unistd.h>
#include <limits.h>
#include "time-util.h"
+1 -1
View File
@@ -6,8 +6,8 @@
#pragma once
#include <stdint.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
char *utf8_prev_char (const char *p);
+1 -1
View File
@@ -4,8 +4,8 @@
/* This is minimal version of Linux' linux/ioprio.h header file, which
* is licensed GPL2 */
#include <unistd.h>
#include <sys/syscall.h>
#include <unistd.h>
/*
* Gives us 8 prio classes with 13-bits of data for each class
+1
View File
@@ -22,6 +22,7 @@
***/
#include <stdbool.h>
#include "util.h"
enum {
+1 -1
View File
@@ -21,8 +21,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include <sys/types.h>
#include <inttypes.h>
#include <sys/types.h>
int memfd_new(const char *name);
int memfd_new_and_map(const char *name, size_t sz, void **p);
+3 -3
View File
@@ -19,12 +19,12 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include <stdbool.h>
#include <sys/types.h>
#include <alloca.h>
#include <signal.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <signal.h>
#include <sys/types.h>
#include "formats-util.h"
#include "macro.h"
+1 -1
View File
@@ -21,8 +21,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include <sys/socket.h>
#include <stdbool.h>
#include <sys/socket.h>
#include "macro.h"
+2 -2
View File
@@ -21,9 +21,9 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/ether.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <linux/netlink.h>
#include <linux/if_packet.h>
+1 -1
View File
@@ -19,8 +19,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include <stdbool.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdio.h>
#include "macro.h"
+1 -1
View File
@@ -21,8 +21,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include <sys/types.h>
#include <stdbool.h>
#include <sys/types.h>
bool uid_is_valid(uid_t uid);