From: Lennart Poettering Date: Tue, 22 May 2018 14:08:26 +0000 (+0200) Subject: tree-wide: remove some double newlines in headers, too X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=887b812d93a7ed02dfb92ce3e46a418334d8f1ba;p=elogind.git tree-wide: remove some double newlines in headers, too --- diff --git a/src/basic/mempool.h b/src/basic/mempool.h index 68249cd88..ba0c0bd8f 100644 --- a/src/basic/mempool.h +++ b/src/basic/mempool.h @@ -29,7 +29,6 @@ static struct mempool pool_name = { \ .at_least = alloc_at_least, \ } - #if VALGRIND void mempool_drop(struct mempool *mp); #endif diff --git a/src/basic/missing.h b/src/basic/missing.h index 42bf38da0..03b954d17 100644 --- a/src/basic/missing.h +++ b/src/basic/missing.h @@ -333,7 +333,6 @@ struct btrfs_ioctl_search_header { __u32 len; }; - struct btrfs_ioctl_search_args { struct btrfs_ioctl_search_key key; char buf[BTRFS_SEARCH_ARGS_BUFSIZE]; diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h index 50fdf1c4a..b26332bc2 100644 --- a/src/basic/missing_syscall.h +++ b/src/basic/missing_syscall.h @@ -258,7 +258,6 @@ static inline int missing_kcmp(pid_t pid1, pid_t pid2, int type, unsigned long i # define kcmp missing_kcmp #endif - /* ======================================================================= */ #if !HAVE_KEYCTL diff --git a/src/basic/string-table.h b/src/basic/string-table.h index 92825c4d7..1786bcfda 100644 --- a/src/basic/string-table.h +++ b/src/basic/string-table.h @@ -77,7 +77,6 @@ ssize_t string_table_lookup(const char * const *table, size_t len, const char *k return (type) -1; \ } \ - #define _DEFINE_STRING_TABLE_LOOKUP(name,type,scope) \ _DEFINE_STRING_TABLE_LOOKUP_TO_STRING(name,type,scope) \ _DEFINE_STRING_TABLE_LOOKUP_FROM_STRING(name,type,scope) diff --git a/src/login/logind-inhibit.h b/src/login/logind-inhibit.h index 32626118e..712260a5a 100644 --- a/src/login/logind-inhibit.h +++ b/src/login/logind-inhibit.h @@ -9,7 +9,6 @@ typedef struct Inhibitor Inhibitor; - typedef enum InhibitWhat { INHIBIT_SHUTDOWN = 1, INHIBIT_SLEEP = 2,