[Xfce4-commits] <xfce4-power-manager:master> Fix compilation error with --enable-debug=full

Ali Abdallah noreply at xfce.org
Tue Jan 4 13:16:01 CET 2011


Updating branch refs/heads/master
         to 350e40ab0d9d1c4ef2a8325c7609152b904456f4 (commit)
       from bda605a30808def8b66f144deae800eb9a985f59 (commit)

commit 350e40ab0d9d1c4ef2a8325c7609152b904456f4
Author: Ali Abdallah <aliov at xfce.org>
Date:   Tue Jan 4 13:17:32 2011 +0100

    Fix compilation error with --enable-debug=full

 src/xfpm-backlight-helper.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/xfpm-backlight-helper.c b/src/xfpm-backlight-helper.c
index 9e5bd47..f52bb52 100644
--- a/src/xfpm-backlight-helper.c
+++ b/src/xfpm-backlight-helper.c
@@ -26,6 +26,8 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
+#include <string.h>
+#include <stdio.h>
 
 #define GCM_BACKLIGHT_HELPER_EXIT_CODE_SUCCESS			0
 #define GCM_BACKLIGHT_HELPER_EXIT_CODE_FAILED			1
@@ -38,7 +40,7 @@
  * gcm_backlight_helper_get_best_backlight:
  **/
 static gchar *
-gcm_backlight_helper_get_best_backlight ()
+gcm_backlight_helper_get_best_backlight (void)
 {
 	gchar *filename;
 	guint i;



More information about the Xfce4-commits mailing list