]> granicus.if.org Git - php/commitdiff
correct the last patch: make flock() a function again when it is missing
authorMarcus Boerger <helly@php.net>
Tue, 12 Nov 2002 09:09:55 +0000 (09:09 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 12 Nov 2002 09:09:55 +0000 (09:09 +0000)
#function name should be flock and not php_flock of cause

ext/standard/flock_compat.c

index 92d2590662d8c4010d4c1c569d57d293cd69f92f..03f7876909ad66a7fc5c9dee1140b714a604a384 100644 (file)
@@ -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);
 }