[vte] spawn: Add noreturn attribute



commit 228a2850fa9da2e3ee1ce807363405c485c323b9
Author: Christian Persch <chpe src gnome org>
Date:   Fri Sep 28 12:17:40 2018 +0200

    spawn: Add noreturn attribute

 src/vtespawn.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/vtespawn.cc b/src/vtespawn.cc
index 331e8fc2..070ab780 100644
--- a/src/vtespawn.cc
+++ b/src/vtespawn.cc
@@ -510,7 +510,7 @@ enum
   CHILD_FORK_FAILED
 };
 
-static void
+static G_GNUC_NORETURN void
 do_exec (gint                  child_err_report_fd,
          gint                  stdin_fd,
          gint                  stdout_fd,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]