helly Mon Nov 11 11:43:19 2002 EDT
Modified files:
/php4/ext/standard flock_compat.c flock_compat.h
Log:
make flock PHPAPI
Index: php4/ext/standard/flock_compat.c
diff -u php4/ext/standard/flock_compat.c:1.17 php4/ext/standard/flock_compat.c:1.18
--- php4/ext/standard/flock_compat.c:1.17 Thu Sep 5 10:21:55 2002
+++ php4/ext/standard/flock_compat.c Mon Nov 11 11:43:19 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: flock_compat.c,v 1.17 2002/09/05 14:21:55 hyanantha Exp $ */
+/* $Id: flock_compat.c,v 1.18 2002/11/11 16:43:19 helly Exp $ */
#include <php.h>
#include <errno.h>
@@ -41,7 +41,7 @@
#endif
#ifndef HAVE_FLOCK
-int flock(int fd, int operation)
+PHPAPI int flock(int fd, int operation)
#if HAVE_STRUCT_FLOCK
{
struct flock flck;
Index: php4/ext/standard/flock_compat.h
diff -u php4/ext/standard/flock_compat.h:1.13 php4/ext/standard/flock_compat.h:1.14
--- php4/ext/standard/flock_compat.h:1.13 Thu Feb 28 03:26:45 2002
+++ php4/ext/standard/flock_compat.h Mon Nov 11 11:43:19 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: flock_compat.h,v 1.13 2002/02/28 08:26:45 sebastian Exp $ */
+/* $Id: flock_compat.h,v 1.14 2002/11/11 16:43:19 helly Exp $ */
#ifndef FLOCK_COMPAT_H
#define FLOCK_COMPAT_H
@@ -26,7 +26,7 @@
# define LOCK_EX 2
# define LOCK_NB 4
# define LOCK_UN 8
-int flock(int fd, int operation);
+PHPAPI int flock(int fd, int operation);
#endif
#ifdef PHP_WIN32
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php