discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=ba975e702fcd9e815ed9da13f602187799f90009

commit ba975e702fcd9e815ed9da13f602187799f90009
Author: Jean Guyomarc'h <jean.guyoma...@gmail.com>
Date:   Mon Apr 20 17:03:22 2015 -0400

    e_backlight_main: fix compiling when not having Eeze
    
    Summary:
    EINA_UNUSED is defined in Eina. Since we are not using the program at all,
    let's void main()'s arguments instead of trying to ignore them.
    
    Test Plan: tested only on OSX, unbreaks the build.
    
    Reviewers: zmike
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D2387
---
 src/bin/e_backlight_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_backlight_main.c b/src/bin/e_backlight_main.c
index 3e7896c..6542f77 100644
--- a/src/bin/e_backlight_main.c
+++ b/src/bin/e_backlight_main.c
@@ -170,7 +170,7 @@ main(int argc, char **argv)
 }
 #else  // !HAVE_EEZE && !__FreeBSD_kernel__
 int
-main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
+main(void)
 {
    return -1;
 }

-- 


Reply via email to