[systemd-devel] [PATCH 1/2] remove unneeded libgen.h includes
David Herrmann
dh.herrmann at gmail.com
Sat Jan 17 03:27:29 PST 2015
Hi
On Wed, Jan 14, 2015 at 2:39 PM, Cristian RodrÃguez
<crrodriguez at opensuse.org> wrote:
> ---
> src/core/mount-setup.c | 1 -
> src/journal/catalog.c | 1 -
> src/test/test-namespace.c | 1 -
> 3 files changed, 3 deletions(-)
Applied!
Thanks
David
> diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c
> index bd3a035..eb9641f 100644
> --- a/src/core/mount-setup.c
> +++ b/src/core/mount-setup.c
> @@ -24,7 +24,6 @@
> #include <sys/stat.h>
> #include <stdlib.h>
> #include <string.h>
> -#include <libgen.h>
> #include <assert.h>
> #include <unistd.h>
> #include <ftw.h>
> diff --git a/src/journal/catalog.c b/src/journal/catalog.c
> index 81a2e94..f170232 100644
> --- a/src/journal/catalog.c
> +++ b/src/journal/catalog.c
> @@ -26,7 +26,6 @@
> #include <string.h>
> #include <sys/mman.h>
> #include <locale.h>
> -#include <libgen.h>
>
> #include "util.h"
> #include "log.h"
> diff --git a/src/test/test-namespace.c b/src/test/test-namespace.c
> index e74fd0c..084a58f 100644
> --- a/src/test/test-namespace.c
> +++ b/src/test/test-namespace.c
> @@ -19,7 +19,6 @@
> along with systemd; If not, see <http://www.gnu.org/licenses/>.
> ***/
>
> -#include <libgen.h>
> #include <sys/socket.h>
>
> #include "namespace.h"
> --
> 2.2.1
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
More information about the systemd-devel
mailing list