forked from enlightenment/efl
Fix configure bug and and ecore warning - thanks Sebastian Dransfeld
SVN revision: 12400
This commit is contained in:
parent
f778cf70fb
commit
b2122ee4e8
|
@ -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`
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue