summaryrefslogtreecommitdiff
path: root/ext/standard/php_crypt.h
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2014-02-25 12:46:51 +0800
committerXinchen Hui <laruence@gmail.com>2014-02-25 12:46:51 +0800
commit2ed1f008698027c03364988f839cdb709f3f9e56 (patch)
treea43740a6bd7d80552f3ec932ec7ee9ec764b7627 /ext/standard/php_crypt.h
parent9e4da2d0ec8be34abfd7a5c778bb4f94e3e939b5 (diff)
downloadphp-git-2ed1f008698027c03364988f839cdb709f3f9e56.tar.gz
Refactor php_crypt to returning zend_string
Diffstat (limited to 'ext/standard/php_crypt.h')
-rw-r--r--ext/standard/php_crypt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/php_crypt.h b/ext/standard/php_crypt.h
index f0b96010bc..a23811c320 100644
--- a/ext/standard/php_crypt.h
+++ b/ext/standard/php_crypt.h
@@ -23,7 +23,7 @@
#ifndef PHP_CRYPT_H
#define PHP_CRYPT_H
-PHPAPI int php_crypt(const char *password, const int pass_len, const char *salt, int salt_len, char **result);
+PHPAPI zend_string *php_crypt(const char *password, const int pass_len, const char *salt, int salt_len);
PHP_FUNCTION(crypt);
#if HAVE_CRYPT
PHP_MINIT_FUNCTION(crypt);