cvs: php4 /ext/mcal php_mcal.c

From: Date: Wed, 01 Nov 2000 02:30:36 +0000
Subject: cvs: php4 /ext/mcal php_mcal.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-2393@lists.php.net to get a copy of this message
sniper Tue Oct 31 18:30:36 2000 EDT Modified files: /php4/ext/mcal php_mcal.c Log: Fixed some compile warnings and removed useless code. Index: php4/ext/mcal/php_mcal.c diff -u php4/ext/mcal/php_mcal.c:1.37 php4/ext/mcal/php_mcal.c:1.38 --- php4/ext/mcal/php_mcal.c:1.37 Wed Oct 25 10:43:56 2000 +++ php4/ext/mcal/php_mcal.c Tue Oct 31 18:30:36 2000 @@ -40,10 +40,8 @@ #ifdef PHP_WIN32 #include "winsock.h" #endif -CALSTREAM *cal_open(); -CALSTREAM *cal_close_it(); -CALSTREAM *cal_close_full(); +void cal_close_it(zend_rsrc_list_entry *rsrc); typedef struct _php_mcal_le_struct { CALSTREAM *mcal_stream; @@ -125,13 +123,11 @@ char *mcal_user; char *mcal_password; -CALSTREAM *cal_close_it (zend_rsrc_list_entry *rsrc) +void cal_close_it (zend_rsrc_list_entry *rsrc) { pils *mcal_le_struct = (pils *)rsrc->ptr; - CALSTREAM *ret; - ret = cal_close (mcal_le_struct->mcal_stream,0); + cal_close (mcal_le_struct->mcal_stream,0); efree(mcal_le_struct); - return ret; }

« previous php.cvs (#2393) next »