Enlightenment CVS committal Author : kwo Project : e17 Module : libs/imlib2
Dir : e17/libs/imlib2/src/lib Modified Files: script.c api.c font_main.c Log Message: Trivial warning fixes. =================================================================== RCS file: /cvs/e/e17/libs/imlib2/src/lib/script.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- script.c 4 Nov 2005 09:43:45 -0000 1.3 +++ script.c 18 May 2006 17:36:08 -0000 1.4 @@ -33,7 +33,7 @@ IVariable *vars, *current_var, *curtail; static int -__imlib_find_string(char *haystack, char *needle) +__imlib_find_string(const char *haystack, const char *needle) { if (strstr(haystack, needle) != NULL) return (strstr(haystack, needle) - haystack); @@ -66,7 +66,7 @@ int i = 0; char *rstr = calloc(1024, sizeof(char)); - if (start <= end && end < strlen(str)) + if (start <= end && end < (int)strlen(str)) { for (i = start; i <= end; i++) rstr[i - start] = str[i]; @@ -175,7 +175,9 @@ { ptr->data = __imlib_script_get_next_var(); if (ptr->data == NULL) + { D("EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEK"); + } /* printf( "Using pointer variable %p\n", ptr->data ); */ ptr->type = VAR_PTR; free(value); @@ -209,7 +211,7 @@ __imlib_copystr(function, __imlib_find_string(function, "(") + 1, strlen(function) - 2); #ifdef FDEBUG - printf("DEBUG: (??) = function <%s>( \"%s\" )\n", funcname, funcparams); + printf("DEBUG: (?\?) = function <%s>( \"%s\" )\n", funcname, funcparams); #endif params = __imlib_script_parse_parameters(im, funcparams); /* excute the filter */ @@ -266,7 +268,7 @@ start = start + i + 2; i = __imlib_find_string(scriptbuf + start, "=[]") - 1; i = (i == 0 ? 0 : i); - D("(??) Found pointer variable"); + D("(?\?) Found pointer variable"); } start = 0; =================================================================== RCS file: /cvs/e/e17/libs/imlib2/src/lib/api.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- api.c 9 Apr 2006 08:12:51 -0000 1.5 +++ api.c 18 May 2006 17:36:08 -0000 1.6 @@ -125,7 +125,7 @@ static ImlibContext *ctx = NULL; /* contexts->context; */ /* frees the given context including all its members */ -__hidden void +static void __imlib_free_context(ImlibContext * context) { ImlibContextItem *next = contexts; =================================================================== RCS file: /cvs/e/e17/libs/imlib2/src/lib/font_main.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- font_main.c 10 Feb 2006 00:01:30 -0000 1.3 +++ font_main.c 18 May 2006 17:36:08 -0000 1.4 @@ -345,7 +345,7 @@ return NULL; } -int +static int imlib_hash_size(Imlib_Hash * hash) { if (!hash) ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs