[sysprof] tools/sysprof-cli: cleanup header includes
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] tools/sysprof-cli: cleanup header includes
- Date: Mon, 1 Aug 2022 17:16:04 +0000 (UTC)
commit 475e513b7f6e58b43faeacbfe2cf8bafc4a51853
Author: Christian Hergert <chergert redhat com>
Date: Mon Aug 1 10:15:56 2022 -0700
tools/sysprof-cli: cleanup header includes
Fixes double inclusion of <signal.h> as well.
src/tools/sysprof-cli.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/tools/sysprof-cli.c b/src/tools/sysprof-cli.c
index 2386e481..d9dd8413 100644
--- a/src/tools/sysprof-cli.c
+++ b/src/tools/sysprof-cli.c
@@ -22,13 +22,14 @@
#include <fcntl.h>
#include <locale.h>
-#include <glib-unix.h>
-#include <glib/gi18n.h>
-#include <glib/gstdio.h>
#include <signal.h>
#include <stdlib.h>
#include <sys/types.h>
-#include <signal.h>
+
+#include <glib-unix.h>
+#include <glib/gi18n.h>
+#include <glib/gstdio.h>
+
#include <sysprof.h>
#if HAVE_POLKIT && HAVE_POLKIT_AGENT
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]