summaryrefslogtreecommitdiff
path: root/libc/misc/file
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-09-18 20:57:40 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-09-18 20:57:40 +0200
commit21730caa6647f645974e132ca8afec79b4eeab2b (patch)
tree6c0a0e491526f19ab08062d7f22448ac60ca4bf5 /libc/misc/file
parent35c8387f6d3dd3d901bdc9bb7eb1c681cd1b2c0d (diff)
trim Experimentally off and uncommented hidden
sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/misc/file')
-rw-r--r--libc/misc/file/lockf.c4
-rw-r--r--libc/misc/file/lockf64.c5
2 files changed, 0 insertions, 9 deletions
diff --git a/libc/misc/file/lockf.c b/libc/misc/file/lockf.c
index 58fcdad0a..b37ace408 100644
--- a/libc/misc/file/lockf.c
+++ b/libc/misc/file/lockf.c
@@ -24,11 +24,7 @@
#include <errno.h>
#include <string.h>
-/* libc_hidden_proto(lockf) */
-/* Experimentally off - libc_hidden_proto(memset) */
-/* libc_hidden_proto(fcntl) */
-/* libc_hidden_proto(getpid) */
/* lockf is a simplified interface to fcntl's locking facilities. */
diff --git a/libc/misc/file/lockf64.c b/libc/misc/file/lockf64.c
index e4f6f5cce..177942445 100644
--- a/libc/misc/file/lockf64.c
+++ b/libc/misc/file/lockf64.c
@@ -32,17 +32,12 @@
#define F_GETLK F_GETLK64
#undef F_SETLK
#define F_SETLK F_SETLK64
-/* libc_hidden_proto(fcntl64) */
#else
-/* libc_hidden_proto(fcntl) */
#endif
-/* Experimentally off - libc_hidden_proto(memset) */
-/* libc_hidden_proto(getpid) */
/* lockf is a simplified interface to fcntl's locking facilities. */
-/* libc_hidden_proto(lockf64) */
int lockf64 (int fd, int cmd, off64_t len64)
{
struct flock fl;