serenity/Libraries/LibC
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
..
arpa LibC: Add inet_aton, based on inet_pton 2020-05-11 09:50:42 +02:00
bits Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
net Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
netinet Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
sys Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
alloca.h
assert.cpp LibC: Remove endless loop after abort() call 2020-05-26 14:35:10 +02:00
assert.h
byteswap.h
CMakeLists.txt Revert "LibC: Implement Itanium C++ ABI for static variable guards" 2020-05-20 16:24:26 +02:00
crt0.cpp
crti.S
crtn.S
ctype.cpp
ctype.h LibC: Don't let ctype isfoo() helpers access array out of bounds 2020-05-17 22:35:25 +02:00
cxxabi.cpp Revert "LibC: Implement Itanium C++ ABI for static variable guards" 2020-05-20 16:24:26 +02:00
dirent.cpp Kernel+LibC: Fix various build issues introduced by ssize_t 2020-05-23 15:27:33 +02:00
dirent.h
dlfcn.cpp AK: Rename FileSystemPath -> LexicalPath 2020-05-26 14:35:10 +02:00
dlfcn.h
endian.h
errno.h
errno_numbers.h
fcntl.cpp
fcntl.h Kernel+LibC: Switch isatty() to use a fcntl() 2020-05-20 08:31:31 +02:00
fd_set.h
float.h Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
getopt.cpp
getopt.h LibC: run clang-format on getopt.h to remove tab characters 2020-05-28 17:01:31 +02:00
grp.cpp
grp.h
iconv.h
inttypes.h
ioctl.cpp
libcinit.cpp
libgen.cpp
libgen.h
limits.h LibC: Use more flexible digit parsing code, deduplicate 2020-05-11 10:52:24 +02:00
locale.cpp
locale.h
malloc.cpp Revert "AK+LibC: Move non-placement new/delete into LibC" 2020-05-20 16:24:26 +02:00
mallocdefs.h
memory.h Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
mman.cpp
mman.h
mntent.cpp
mntent.h
netdb.cpp
netdb.h
poll.cpp
poll.h
pwd.cpp
pwd.h
qsort.cpp
scanf.cpp
sched.cpp
sched.h
serenity.cpp
serenity.h
setjmp.h
setjmp.S
signal.cpp
signal.h
signal_numbers.h
stat.cpp
stdarg.h Kernel: Absorb LibBareMetal back into the kernel 2020-05-16 12:00:04 +02:00
stdbool.h
stddef.h LibC: Move ssize_t from <stddef.h> to <sys/types.h> 2020-05-23 17:03:41 +02:00
stdint.h
stdio.cpp LibC: Add a O_CLOEXEC mode element to fopen() 2020-05-28 11:01:08 +02:00
stdio.h Kernel+LibC: Fix various build issues introduced by ssize_t 2020-05-23 15:27:33 +02:00
stdlib.cpp LibC: Ensure abort() doesn't return 2020-05-26 14:35:10 +02:00
stdlib.h
string.cpp
string.h
strings.cpp
strings.h
syslog.cpp
syslog.h
termcap.cpp
termcap.h
termios.cpp
termios.h
time.cpp Kernel: Remove now-unused KernelInfoPage.h 2020-05-16 11:34:54 +02:00
time.h
times.cpp
ulimit.cpp
ulimit.h
unistd.cpp Kernel+LibC: Switch isatty() to use a fcntl() 2020-05-20 08:31:31 +02:00
unistd.h Kernel+Userland: Support remounting filesystems :^) 2020-05-29 07:53:30 +02:00
utime.cpp
utime.h
utmp.h LibC: Add missing <sys/time.h> include in <utmp.h> 2020-05-11 09:50:42 +02:00
utsname.cpp
wchar.cpp
wchar.h