1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:58:11 +00:00
serenity/Libraries/LibC/sys
Emanuele Torre 937d0be762 Meta: Add a script check the presence of "#pragma once" in header files
.. and make travis run it.

I renamed check-license-headers.sh to check-style.sh and expanded it so
that it now also checks for the presence of "#pragma once" in .h files.

It also checks the presence of a (single) blank line above and below the
"#pragma once" line.

I also added "#pragma once" to all the files that need it: even the ones
we are not check.
I also added/removed blank lines in order to make the script not fail.

I also ran clang-format on the files I modified.
2020-05-29 07:59:45 +02:00
..
arch/i386 Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
cdefs.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
file.h Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
ioctl.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
ioctl_numbers.h Kernel: Fix integer overflow in framebuffer resolution handling 2020-04-29 09:37:36 +02:00
mman.h Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
param.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
ptrace.cpp ptrace: Report error in PT_PEEK via errno 2020-04-13 00:53:22 +02:00
ptrace.h ptrace: Add PT_SETREGS 2020-04-13 00:53:22 +02:00
resource.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
select.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
select.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
socket.cpp LibC: Fix get{sock,peer}name to match their kernel-side prototypes 2020-05-10 01:04:10 +02:00
socket.h Kernel+LibC: Add AF_MAX 2020-05-11 09:50:42 +02:00
stat.h LibC: Move struct stat to sys/stat.h 2020-02-05 18:39:45 +01:00
sysmacros.h Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
time.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
times.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
types.h LibC: Move ssize_t from <stddef.h> to <sys/types.h> 2020-05-23 17:03:41 +02:00
uio.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
uio.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
un.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
utsname.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
wait.cpp Kernel + LibC: Handle running processes in do_waitid() 2020-05-17 11:58:08 +02:00
wait.h Kernel+LibC: Add sys$waitid(), and make sys$waitpid() wrap it 2020-02-05 18:14:37 +01:00