[sysprof] tools/sysprof-cli: cleanup header includes



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]