cvs: php4 /ext/standard/ php_string.h

[email protected] ("Hartmut Holzgraefe")
Newsgroups php.version4
Message-ID <cvshholzgra959147493@cvsserver>
hholzgra		Wed May 24 07:51:33 2000 EDT

  Modified files:
    /php4/ext/standard	php_string.h 
  Log:
  php_basename() prototype changed according to latest changes in string.c
  
  
Index: php4/ext/standard/php_string.h
diff -u php4/ext/standard/php_string.h:1.18 php4/ext/standard/php_string.h:1.19
--- php4/ext/standard/php_string.h:1.18	Tue May 23 22:16:14 2000
+++ php4/ext/standard/php_string.h	Wed May 24 07:51:33 2000
@@ -29,7 +29,7 @@
  */
 
 
-/* $Id: php_string.h,v 1.18 2000/05/23 20:16:14 rasmus Exp $ */
+/* $Id: php_string.h,v 1.19 2000/05/24 05:51:33 hholzgra Exp $ */
 
 /* Synced with php 3.0 revision 1.43 1999-06-16 [ssb] */
 
@@ -100,7 +100,7 @@
 PHPAPI char *php_addcslashes(char *str, int length, int *new_length, int freeit, char *what, int wlength);
 PHPAPI void php_stripslashes(char *str, int *len);
 PHPAPI void php_stripcslashes(char *str, int *len);
-PHPAPI void php_basename(char *str, int len);
+PHPAPI char *php_basename(char *str, size_t  len);
 PHPAPI void php_dirname(char *str, int len);
 PHPAPI char *php_stristr(unsigned char *s, unsigned char *t, size_t s_len, size_t t_len);
 PHPAPI char *php_str_to_str(char *haystack, int length, char *needle,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.