From 5b024a5b76c96ebbaf36ba7803ba4dbe959f7219 Mon Sep 17 00:00:00 2001 From: batschul Date: Sat, 14 Jan 2006 11:23:48 -0800 Subject: 6349042 ufs_inode.h is too late claiming overly general "struct slot" 6274196 ufs_dirremove/rename should use reader vn_vfsrlock instead of writer vn_vfslock/vn_vfswlock 6369900 UNIX03 *vsx* /usr/include/fcntl.h posix_fallocate() prototype fails standards header test --- usr/src/head/fcntl.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'usr/src/head') diff --git a/usr/src/head/fcntl.h b/usr/src/head/fcntl.h index e38c622cab..c696b516b7 100644 --- a/usr/src/head/fcntl.h +++ b/usr/src/head/fcntl.h @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -131,7 +130,7 @@ extern int fcntl(int, int, ...); extern int open(const char *, int, ...); extern int creat(const char *, mode_t); #if defined(__EXTENSIONS__) || defined(_XPG6) || !defined(__XOPEN_OR_POSIX) -extern int posix_fallocate(int fd, off_t offset, off_t len); +extern int posix_fallocate(int, off_t, off_t); #endif /* defined(__EXTENSIONS__) || defined(_XPG6) || ... */ #if defined(__EXTENSIONS__) || !defined(__XOPEN_OR_POSIX) || \ defined(_ATFILE_SOURCE) @@ -148,7 +147,7 @@ extern int directio(int, int); extern int open64(const char *, int, ...); extern int creat64(const char *, mode_t); #if defined(__EXTENSIONS__) || defined(_XPG6) || !defined(__XOPEN_OR_POSIX) -extern int posix_fallocate64(int fd, off64_t offset, off64_t len); +extern int posix_fallocate64(int, off64_t, off64_t); #endif /* defined(__EXTENSIONS__) || defined(_XPG6) || ... */ #if defined(__EXTENSIONS__) || !defined(__XOPEN_OR_POSIX) || \ defined(_ATFILE_SOURCE) -- cgit v1.2.3