Cleanup: apply `include-what-you-use` guideline for `size_t`
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 3 Dec 2019 20:33:22 +0000 (15:33 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 13 Feb 2020 17:10:04 +0000 (12:10 -0500)
commitb4051ad8c170901d5297e1b3005b24e63cb0ab1e
treed44bd2d1150c6a955b74cea8317334c361a20e3b
parent8b05d0d42a5a7801e5c3bcd76c5230188cfbe236
Cleanup: apply `include-what-you-use` guideline for `size_t`

I saw that some files use the `size_t` type but there are not including
a header for it. The `size_t` type is defined by the following headers:
  <stddef.h>
  <stdio.h>
  <stdlib.h>
  <string.h>
  <time.h>
  <wchar.h>

So, to follow the best practice of including what is used in a file, I
added `#include <stddef.h>` in files using `size_t` but did not include
any of the previously listed header.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ica1d82691335294decf13ffcdf4257e35d6a44c2
59 files changed:
doc/examples/demo/ust_tests_demo2.h
doc/examples/hello-static-lib/ust_tests_hello.h
include/lttng/ust-context-provider.h
include/lttng/ust-ctl.h
include/lttng/ust-events.h
include/ust_snprintf.h
liblttng-ust-dl/ust_dl.h
liblttng-ust/getenv.c
liblttng-ust/jhash.h
liblttng-ust/lttng-context-cgroup-ns.c
liblttng-ust/lttng-context-cpu-id.c
liblttng-ust/lttng-context-ip.c
liblttng-ust/lttng-context-ipc-ns.c
liblttng-ust/lttng-context-mnt-ns.c
liblttng-ust/lttng-context-net-ns.c
liblttng-ust/lttng-context-perf-counters.c
liblttng-ust/lttng-context-pid-ns.c
liblttng-ust/lttng-context-procname.c
liblttng-ust/lttng-context-provider.c
liblttng-ust/lttng-context-pthread-id.c
liblttng-ust/lttng-context-user-ns.c
liblttng-ust/lttng-context-uts-ns.c
liblttng-ust/lttng-context-vegid.c
liblttng-ust/lttng-context-veuid.c
liblttng-ust/lttng-context-vgid.c
liblttng-ust/lttng-context-vpid.c
liblttng-ust/lttng-context-vsgid.c
liblttng-ust/lttng-context-vsuid.c
liblttng-ust/lttng-context-vtid.c
liblttng-ust/lttng-context-vuid.c
liblttng-ust/lttng-context.c
liblttng-ust/lttng-filter-interpreter.c
liblttng-ust/lttng-filter-specialize.c
liblttng-ust/lttng-filter-validator.c
liblttng-ust/lttng-filter.c
liblttng-ust/lttng-hash-helper.h
liblttng-ust/lttng-ring-buffer-client.h
liblttng-ust/lttng-ring-buffer-metadata-client.h
liblttng-ust/lttng-ust-comm.c
liblttng-ust/lttng-ust-statedump-provider.h
liblttng-ust/string-utils.h
liblttng-ust/ust-core.c
liblttng-ust/ust_lib.h
libringbuffer/backend.h
libringbuffer/backend_internal.h
libringbuffer/frontend.h
libringbuffer/frontend_api.h
libringbuffer/ring_buffer_backend.c
libringbuffer/shm.h
libringbuffer/shm_types.h
snprintf/fvwrite.h
snprintf/patient_write.c
snprintf/snprintf.c
snprintf/various.h
snprintf/wcio.h
tests/hello.cxx/ust_tests_hello.h
tests/hello/ust_tests_hello.h
tests/test-app-ctx/hello.c
tests/test-app-ctx/ust_tests_hello.h
This page took 0.031358 seconds and 4 git commands to generate.