diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2001-06-06 13:06:12 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2001-06-06 13:06:12 +0000 |
commit | 81e2cf03ac62c29c6bb365c31b9229aa3b4deff8 (patch) | |
tree | a0680a82219899445723cc36b058d9c4d263e17f /ext/standard/flock_compat.c | |
parent | 3bfd50f4f1dedb756c4e45566e2f8e172ab435ec (diff) | |
download | php-git-81e2cf03ac62c29c6bb365c31b9229aa3b4deff8.tar.gz |
Fix folding and clean up some extensions
Diffstat (limited to 'ext/standard/flock_compat.c')
-rw-r--r-- | ext/standard/flock_compat.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/ext/standard/flock_compat.c b/ext/standard/flock_compat.c index 6395df992c..38b387f8b2 100644 --- a/ext/standard/flock_compat.c +++ b/ext/standard/flock_compat.c @@ -152,15 +152,13 @@ int flock(int fd, int operation) #endif /* !defined(HAVE_FLOCK) */ #if !(HAVE_INET_ATON) - -/* +/* {{{ inet_aton * Check whether "cp" is a valid ascii representation * of an Internet address and convert to a binary address. * Returns 1 if the address is valid, 0 if not. * This replaces inet_addr, the return value from which * cannot distinguish between failure and a local broadcast address. */ - int inet_aton(const char *cp, struct in_addr *ap) { int dots = 0; @@ -214,7 +212,7 @@ int inet_aton(const char *cp, struct in_addr *ap) return 1; } - +/* }}} */ #endif /* !HAVE_INET_ATON */ /* @@ -222,5 +220,6 @@ int inet_aton(const char *cp, struct in_addr *ap) * tab-width: 4 * c-basic-offset: 4 * End: - * vim: sw=4 ts=4 tw=78 fdm=marker + * vim600: sw=4 ts=4 tw=78 fdm=marker + * vim<600: sw=4 ts=4 tw=78 */ |