Diff of /src/lirc.c [38f5be] .. [dba5ed] Maximize Restore

  Switch to side-by-side view

--- a/src/lirc.c
+++ b/src/lirc.c
@@ -41,6 +41,7 @@
 #include <lirc/lirc_client.h>
 #endif
 
+#include "lirc.h"
 #include "engine.h"
 
 #ifdef HAVE_LIRC
@@ -90,7 +91,7 @@
   lirc_deinit ();
 }
 
-static void *gxine_lirc_run (void *data)
+static __attribute__ ((noreturn)) void *gxine_lirc_run (void *data)
 {
   char *config;
   gboolean first = TRUE;
@@ -122,7 +123,6 @@
       pthread_cond_signal (&lirc_init_cond);
       pthread_mutex_unlock (&lirc_init_mutex);
       pthread_exit(NULL);
-      return NULL;
     }
 
     first = FALSE;
@@ -135,7 +135,7 @@
     {
       /* if neither file has been read successfully or there's nothing for
        * gxine, exit now */
-      g_printerr (_("lirc: no configuration found - disabling remote control"));
+      g_printerr (_("lirc: no configuration found - disabling remote control\n"));
       goto failed;
     }