1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-24 06:04:05 +03:00

basic/missing_*.h: indentation tweaks

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2024-03-19 09:48:38 +01:00
parent 4d6437d33c
commit aee547b97b
4 changed files with 10 additions and 9 deletions

View File

@ -19,8 +19,8 @@ struct input_mask {
__u64 codes_ptr;
};
#define EVIOCGMASK _IOR('E', 0x92, struct input_mask)
#define EVIOCSMASK _IOW('E', 0x93, struct input_mask)
# define EVIOCGMASK _IOR('E', 0x92, struct input_mask)
# define EVIOCSMASK _IOW('E', 0x93, struct input_mask)
#endif
/* linux@7611392fe8ff95ecae528b01a815ae3d72ca6b95 (3.17) */

View File

@ -27,5 +27,5 @@ assert_cc(LO_FLAGS_DIRECT_IO == 0x4C08);
#endif
#ifndef LOOP_SET_STATUS_SETTABLE_FLAGS
#define LOOP_SET_STATUS_SETTABLE_FLAGS (LO_FLAGS_AUTOCLEAR | LO_FLAGS_PARTSCAN | LO_FLAGS_DIRECT_IO)
# define LOOP_SET_STATUS_SETTABLE_FLAGS (LO_FLAGS_AUTOCLEAR | LO_FLAGS_PARTSCAN | LO_FLAGS_DIRECT_IO)
#endif

View File

@ -25,10 +25,11 @@ assert_cc(CLONE_NEWTIME == 0x00000080);
assert_cc(PF_KTHREAD == 0x00200000);
#endif
/* The maximum thread/process name length including trailing NUL byte. This mimics the kernel definition of the same
* name, which we need in userspace at various places but is not defined in userspace currently, neither under this
* name nor any other. */
/* Not exposed yet. Defined at include/linux/sched.h */
/* The maximum thread/process name length including trailing NUL byte. This mimics the kernel definition of
* the same name, which we need in userspace at various places but is not defined in userspace currently,
* neither under this name nor any other.
*
* Not exposed yet. Defined at include/linux/sched.h */
#ifndef TASK_COMM_LEN
# define TASK_COMM_LEN 16
#else

View File

@ -4,9 +4,9 @@
#include <uchar.h>
#if !HAVE_CHAR32_T
#define char32_t uint32_t
# define char32_t uint32_t
#endif
#if !HAVE_CHAR16_T
#define char16_t uint16_t
# define char16_t uint16_t
#endif