summaryrefslogtreecommitdiff
path: root/ext/standard/flock_compat.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-11-12 09:09:55 +0000
committerMarcus Boerger <helly@php.net>2002-11-12 09:09:55 +0000
commitf2de217740af4cffba4dbb8c94d323a9beb25894 (patch)
tree83ee5f346edf96fbb03f598f33c449a0187f8c0a /ext/standard/flock_compat.c
parentf482ac4011a60288520141362ccc1c74d6318638 (diff)
downloadphp-git-f2de217740af4cffba4dbb8c94d323a9beb25894.tar.gz
correct the last patch: make flock() a function again when it is missing
#function name should be flock and not php_flock of cause
Diffstat (limited to 'ext/standard/flock_compat.c')
-rw-r--r--ext/standard/flock_compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/flock_compat.c b/ext/standard/flock_compat.c
index 92d2590662..03f7876909 100644
--- a/ext/standard/flock_compat.c
+++ b/ext/standard/flock_compat.c
@@ -41,7 +41,7 @@
#endif
#ifndef HAVE_FLOCK
-PHPAPI int php_flock(int fd, int operation)
+PHPAPI int flock(int fd, int operation)
{
return php_flock(fd, operation);
}