fix warnings

patch by Albin Tonnerre


SVN revision: 45433
This commit is contained in:
Vincent Torri 2010-01-22 07:03:04 +00:00
parent f901fffdde
commit 8744820a79
5 changed files with 9 additions and 9 deletions

View File

@ -225,7 +225,7 @@ void
_ecore_fps_debug_init(void)
{
char buf[4096];
char *tmp;
const char *tmp;
int pid;
_ecore_fps_debug_init_count++;
@ -265,8 +265,8 @@ _ecore_fps_debug_shutdown(void)
if (_ecore_fps_debug_init_count > 0) return;
if (_ecore_fps_debug_fd >= 0)
{
char buf[4096];
char *tmp;
char buf[4096];
const char *tmp;
int pid;
#ifndef HAVE_EVIL

View File

@ -1535,7 +1535,7 @@ ecore_getopt_parser_has_duplicates(const Ecore_Getopt *parser)
return 0;
}
const Ecore_Getopt_Desc *
static const Ecore_Getopt_Desc *
_ecore_getopt_find_help(const Ecore_Getopt *parser)
{
const Ecore_Getopt_Desc *desc = parser->descs;

View File

@ -232,7 +232,7 @@ extern "C" {
struct _Ecore_IMF_Event_Key_Down
{
char *keyname; /**< The string name of the key pressed */
const char *keyname; /**< The string name of the key pressed */
Ecore_IMF_Keyboard_Modifiers modifiers; /**< The keyboard modifiers active when the event has been emitted */
Ecore_IMF_Keyboard_Locks locks; /**< The keyboard locks active when the event has been emitted */
const char *key; /**< The logical key : (eg shift+1 == exclamation) */
@ -243,7 +243,7 @@ extern "C" {
struct _Ecore_IMF_Event_Key_Up
{
char *keyname; /**< The string name of the key pressed */
const char *keyname; /**< The string name of the key pressed */
Ecore_IMF_Keyboard_Modifiers modifiers; /**< The keyboard modifiers active when the event has been emitted */
Ecore_IMF_Keyboard_Locks locks; /**< The keyboard locks active when the event has been emitted */
const char *key; /**< The logical key : (eg shift+1 == exclamation) */

View File

@ -14,7 +14,7 @@
* Helper functions to make it easy to use Evas with Ecore_IMF.
*/
static char *_ecore_imf_evas_event_empty = "";
static const char *_ecore_imf_evas_event_empty = "";
/* Converts the Evas modifiers to Ecore_IMF keyboard modifiers */
static void

View File

@ -867,7 +867,7 @@ _ecore_x_window_tree_shadow_stop(void)
_ecore_x_window_tree_shadow_free();
}
Shadow *
static Shadow *
_ecore_x_window_shadow_tree_find_shadow(Shadow *s, Window win)
{
Shadow *ss;
@ -886,7 +886,7 @@ _ecore_x_window_shadow_tree_find_shadow(Shadow *s, Window win)
return NULL;
}
Shadow *
static Shadow *
_ecore_x_window_shadow_tree_find(Window base)
{
Shadow *s;