Cleanup: apply `include-what-you-use` guideline for `close()`
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Thu, 5 Dec 2019 23:17:31 +0000 (18:17 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 13 Feb 2020 17:11:01 +0000 (12:11 -0500)
commit4e79769fe2af2d3e6ed2c14ef0058ed3a077fddc
tree0c3ae10de31db8ee70b19bb79981c1393d8e5254
parentfb31eb73d8a4a6d9784ed5c335b7fa3b9684108c
Cleanup: apply `include-what-you-use` guideline for `close()`

I saw that some files use the `close()` function but there are not
including a header for it. The `close()` function is defined by the
following header: <unistd.h>

So, to follow the best practice of including what is used in a file, I
added `#include <unistd.h>` in files using `close()`.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I07e104e957857c869576af7c2704e98584ecc763
liblttng-ust-ctl/ustctl.c
liblttng-ust/lttng-ust-abi.c
libringbuffer/shm.h
This page took 0.026348 seconds and 4 git commands to generate.