CVS update: php3/functions
| From: | rasmus | Date: | Thu, 03 Sep 1998 15:44:28 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-776@lists.php.net to get a copy of this message | ||
Date: Thursday September 3, 1998 @ 11:44
Author: rasmus
Update of /repository/php3/functions
In directory asf:/u2/tmp/cvs-serv24119/functions
Modified Files:
basic_functions.c file.c gdttf.c
Log Message:
Clean up some compiler warnings
Index: php3/functions/basic_functions.c
diff -c php3/functions/basic_functions.c:1.213 php3/functions/basic_functions.c:1.214
*** php3/functions/basic_functions.c:1.213 Thu Aug 27 01:00:50 1998
--- php3/functions/basic_functions.c Thu Sep 3 11:44:27 1998
***************
*** 85,90 ****
--- 85,94 ----
static pval *user_compare_func_name;
static HashTable *user_shutdown_function_names;
+ /* some prototypes for local functions */
+ void user_shutdown_function_dtor(pval *user_shutdown_function_name);
+ int user_shutdown_function_executor(pval *user_shutdown_function_name);
+ void php3_call_shutdown_functions(void);
function_entry basic_functions[] = {
{"intval", int_value, NULL},
Index: php3/functions/file.c
diff -c php3/functions/file.c:1.178 php3/functions/file.c:1.179
*** php3/functions/file.c:1.178 Tue Sep 1 17:34:04 1998
--- php3/functions/file.c Thu Sep 3 11:44:27 1998
***************
*** 26,32 ****
| Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: file.c,v 1.178 1998/09/01 21:34:04 shane Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
--- 26,32 ----
| Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: file.c,v 1.179 1998/09/03 15:44:27 rasmus Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
***************
*** 219,229 ****
pval *filename, *arg2;
FILE *fp;
char buf[8192];
- register int i=0;
int use_include_path = 0;
int issock=0, socketd=0;
int len,var_namelen;
! char var_name[50],*val,*tmp,*end,*slashed;
TLS_VARS;
/* check args */
--- 219,228 ----
pval *filename, *arg2;
FILE *fp;
char buf[8192];
int use_include_path = 0;
int issock=0, socketd=0;
int len,var_namelen;
! char var_name[50],*val=NULL,*tmp,*end,*slashed;
TLS_VARS;
/* check args */
Index: php3/functions/gdttf.c
diff -c php3/functions/gdttf.c:1.12 php3/functions/gdttf.c:1.13
*** php3/functions/gdttf.c:1.12 Sat Aug 8 18:33:53 1998
--- php3/functions/gdttf.c Thu Sep 3 11:44:28 1998
***************
*** 131,136 ****
--- 131,142 ----
static void *bitmapFetch ( char **error, void *key );
static void bitmapRelease( void *element );
+ /* local prototype */
+ char *gdttfchar(gdImage *im, int fg, font_t *font, int x, int y, TT_F26Dot6 x1, TT_F26Dot6 y1,
TT_F26Dot6 *advance, TT_BBox **bbox, char **next);
+
+ /* This prototype is missing from gd.h */
+ int gdImageColorResolve(gdImagePtr im, int r, int g, int b);
+
/********************************************************************
* gdTcl_UtfToUniChar is borrowed from ...
*/
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net