fixed a small error to compile succesfully using PHP5.4

git-svn-id: https://svn.php.net/repository/pecl/pcsc/trunk@330077 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Johannes Findeisen 2013-04-11 17:39:38 +00:00
commit 3e56a29eba
2 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
It is a wrapper to the wonderfull and free project PCSC-Lite which is the
middleware to access a smart card using SCard API (PC/SC). Since PCSC-Lite is
compatible to the winscard API it should be possible to compile this extension
using a Windows® operating system. Currently I only take focus on Linux
using a Windows operating system. Currently I only take focus on Linux
environments.
</description>
<lead>
@ -22,8 +22,8 @@ environments.
<date>2011-12-13</date>
<time>00:14:10</time>
<version>
<release>0.1</release>
<api>0.1</api>
<release>0.1.1</release>
<api>0.1.1</api>
</version>
<stability>
<release>alpha</release>

2
pcsc.c
View file

@ -37,7 +37,7 @@
*
* Every user visible function must have an entry in pcsc_functions[].
*/
function_entry pcsc_functions[] = {
zend_function_entry pcsc_functions[] = {
PHP_FE(scard_establish_context, NULL)
PHP_FE(scard_release_context, NULL)
PHP_FE(scard_is_valid_context, NULL)