From b2122ee4e8b1a76035cfa07277110f322d412835 Mon Sep 17 00:00:00 2001 From: handyande Date: Wed, 8 Dec 2004 16:23:09 +0000 Subject: [PATCH] Fix configure bug and and ecore warning - thanks Sebastian Dransfeld SVN revision: 12400 --- legacy/ecore/configure.in | 2 +- legacy/ecore/src/lib/ecore/Ecore_Data.h | 2 +- legacy/ecore/src/lib/ecore/ecore_value.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/legacy/ecore/configure.in b/legacy/ecore/configure.in index 7460b4a8e5..c74d6cbd59 100644 --- a/legacy/ecore/configure.in +++ b/legacy/ecore/configure.in @@ -573,7 +573,7 @@ if test "x$have_ecore_config" = "xyes"; then [ EET_CONFIG=$withval; echo "using "$EET_CONFIG" for eet-config"; ], [ if test -z "$EET_CONFIG"; then - AC_PATH_PROG(PROG_EET_CONFIG, "eet-config", "", $PATH) + AC_PATH_PROG(EET_CONFIG, "eet-config", "", $PATH) fi ]) eet_cflags=`$EET_CONFIG --cflags` diff --git a/legacy/ecore/src/lib/ecore/Ecore_Data.h b/legacy/ecore/src/lib/ecore/Ecore_Data.h index 4b880c10c4..7c1d6fd1a8 100644 --- a/legacy/ecore/src/lib/ecore/Ecore_Data.h +++ b/legacy/ecore/src/lib/ecore/Ecore_Data.h @@ -301,7 +301,7 @@ extern "C" { void ecore_hash_dump_graph(Ecore_Hash *hash); - inline void ecore_print_warning(char *function, char *sparam); + inline void ecore_print_warning(const char *function, char *sparam); /* Wrappers around free() that helps debug free() bugs such as freeing NULL * or accessing a pointer that has already been freed */ diff --git a/legacy/ecore/src/lib/ecore/ecore_value.c b/legacy/ecore/src/lib/ecore/ecore_value.c index 880eb207d0..5feff5a50e 100644 --- a/legacy/ecore/src/lib/ecore/ecore_value.c +++ b/legacy/ecore/src/lib/ecore/ecore_value.c @@ -31,7 +31,7 @@ const unsigned int ecore_prime_table[] = { 17, 31, 61, 127, 257, 509, 1021, 2097143, 4194301, 8388617, 16777213 }; -inline void ecore_print_warning(char *function, char *sparam) +inline void ecore_print_warning(const char *function, char *sparam) { fprintf(stderr, "***** Developer Warning ***** :\n" "\tThis program is calling:\n\n"