summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/lockf.c
diff options
context:
space:
mode:
authordt <dt@FreeBSD.org>1998-07-08 15:38:06 +0000
committerdt <dt@FreeBSD.org>1998-07-08 15:38:06 +0000
commitc8a05e725f167be727e295b86da10cdad25dd5cc (patch)
treee4f98ebe2bcec6e22c22200dba259b4cacff1971 /lib/libc/gen/lockf.c
parent2bb7c326d9cd0913e2682c2a67130ac851d11fb6 (diff)
downloadFreeBSD-src-c8a05e725f167be727e295b86da10cdad25dd5cc.zip
FreeBSD-src-c8a05e725f167be727e295b86da10cdad25dd5cc.tar.gz
Make this look more FreeBSDish.
Diffstat (limited to 'lib/libc/gen/lockf.c')
-rw-r--r--lib/libc/gen/lockf.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/libc/gen/lockf.c b/lib/libc/gen/lockf.c
index 0419390..391f3a6 100644
--- a/lib/libc/gen/lockf.c
+++ b/lib/libc/gen/lockf.c
@@ -36,21 +36,15 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: lockf.c,v 1.1 1997/12/20 20:23:18 kleink Exp $");
+static const char rcsid[]=
+ "$Id$";
#endif
-#include "namespace.h"
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
-#ifdef __weak_alias
-__weak_alias(lockf,_lockf);
-#endif
-
-
int
lockf(filedes, function, size)
int filedes;
OpenPOWER on IntegriCloud