Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/efreet
Dir : e17/libs/efreet/src/bin
Modified Files:
ef_cache.c ef_desktop.c efreet_spec_test.c
Added Files:
ef_test.h
Log Message:
- fix warnings
===================================================================
RCS file: /cvs/e/e17/libs/efreet/src/bin/ef_cache.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- ef_cache.c 25 Jul 2007 17:00:56 -0000 1.6
+++ ef_cache.c 7 May 2008 02:16:50 -0000 1.7
@@ -1,8 +1,9 @@
#include "Efreet.h"
#include <stdio.h>
+#include "ef_test.h"
static int
-timer(void *data)
+timer(void *data __UNUSED__)
{
Ecore_List *list;
Efreet_Desktop *desktop;
@@ -33,7 +34,7 @@
}
int
-main(int argc, char **argv)
+main(int argc __UNUSED__, char **argv __UNUSED__)
{
if (!efreet_init()) return 1;
if (!efreet_util_init()) return 1;
===================================================================
RCS file: /cvs/e/e17/libs/efreet/src/bin/ef_desktop.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- ef_desktop.c 24 Feb 2008 19:14:14 -0000 1.10
+++ ef_desktop.c 7 May 2008 02:16:50 -0000 1.11
@@ -5,9 +5,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <limits.h>
-
-#define IF_FREE(x) do { if (x) free(x); x = NULL; } while (0);
-#define NEW(x, c) calloc(c, sizeof(x))
+#include "ef_test.h"
static void *_cb_command(void *data, Efreet_Desktop *desktop, char *exec, int
remaining);
@@ -327,7 +325,8 @@
}
static void *
-_cb_command(void *data, Efreet_Desktop *desktop, char *exec, int remaining)
+_cb_command(void *data, Efreet_Desktop *desktop __UNUSED__,
+ char *exec, int remaining __UNUSED__)
{
Test_Info *info = data;
char *expected;
@@ -352,7 +351,7 @@
}
static void *
-cb_type_parse(Efreet_Desktop *desktop, Efreet_Ini *ini)
+cb_type_parse(Efreet_Desktop *desktop __UNUSED__, Efreet_Ini *ini)
{
const char *val;
val = efreet_ini_string_get(ini, "X-Test");
===================================================================
RCS file: /cvs/e/e17/libs/efreet/src/bin/efreet_spec_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- efreet_spec_test.c 6 Sep 2007 16:15:09 -0000 1.3
+++ efreet_spec_test.c 7 May 2008 02:16:50 -0000 1.4
@@ -1,12 +1,13 @@
#include <Efreet.h>
#include <stdio.h>
+#include "ef_test.h"
#define PATH_MAX 4096
static void dump(Efreet_Menu *menu, const char *path);
int
-main(int argc, char **argv)
+main(int argc __UNUSED__, char **argv __UNUSED__)
{
Efreet_Menu *menu;
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs