[maemo-commits] [maemo-commits] r14979 - in projects/haf/trunk/maemo-launcher: . launcher

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Dec 14 20:18:56 EET 2007
Author: guillem
Date: 2007-12-14 20:18:53 +0200 (Fri, 14 Dec 2007)
New Revision: 14979

Modified:
   projects/haf/trunk/maemo-launcher/ChangeLog
   projects/haf/trunk/maemo-launcher/launcher/launcher.c
Log:
Move invoked_send_fake_exit definition closer to other invoked_ functions


Modified: projects/haf/trunk/maemo-launcher/ChangeLog
===================================================================
--- projects/haf/trunk/maemo-launcher/ChangeLog	2007-12-14 18:16:22 UTC (rev 14978)
+++ projects/haf/trunk/maemo-launcher/ChangeLog	2007-12-14 18:18:53 UTC (rev 14979)
@@ -1,5 +1,10 @@
 2007-12-14  Guillem Jover  <guillem.jover at nokia.com>
 
+	* launcher/launcher.c (invoked_send_fake_exit): Move function
+	definition closer to other invoked_ functions.
+
+2007-12-14  Guillem Jover  <guillem.jover at nokia.com>
+
 	* launcher/launcher.c (kindergarten_insert_child): Do not call
 	invoked_send_fake_exit on failure.
 	(main): If kindergarten_insert_child failed call

Modified: projects/haf/trunk/maemo-launcher/launcher/launcher.c
===================================================================
--- projects/haf/trunk/maemo-launcher/launcher/launcher.c	2007-12-14 18:16:22 UTC (rev 14978)
+++ projects/haf/trunk/maemo-launcher/launcher/launcher.c	2007-12-14 18:18:53 UTC (rev 14979)
@@ -240,6 +240,16 @@
 }
 
 static bool
+invoked_send_fake_exit(int sock)
+{
+  /* Send a fake exit code, so the invoker does not wait for us. */
+  invoked_send_exit(sock, 0);
+  close(sock);
+
+  return true;
+}
+
+static bool
 invoked_get_args(int fd, prog_t *prog)
 {
   int i;
@@ -447,16 +457,6 @@
 }
 
 static bool
-invoked_send_fake_exit(int sock)
-{
-  /* Send a fake exit code, so the invoker does not wait for us. */
-  invoked_send_exit(sock, 0);
-  close(sock);
-
-  return true;
-}
-
-static bool
 kindergarten_insert_child(kindergarten_t *kg, child_t *child)
 {
   int id;


More information about the maemo-commits mailing list