Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ntfs move definition of ntfs_fget() and ntfs_frele() to ...



details:   https://anonhg.NetBSD.org/src/rev/649d1beec7a3
branches:  trunk
changeset: 476838:649d1beec7a3
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed Sep 29 15:36:07 1999 +0000

description:
move definition of ntfs_fget() and ntfs_frele() to ntfs_subr.h and g/c
now obsolete ntfs_extern.h

diffstat:

 sys/ntfs/Makefile      |   6 +++---
 sys/ntfs/ntfs_extern.h |  33 ---------------------------------
 sys/ntfs/ntfs_subr.c   |   3 +--
 sys/ntfs/ntfs_subr.h   |   4 +++-
 sys/ntfs/ntfs_vfsops.c |   3 +--
 sys/ntfs/ntfs_vnops.c  |   3 +--
 6 files changed, 9 insertions(+), 43 deletions(-)

diffs (119 lines):

diff -r f316ab9c5ef6 -r 649d1beec7a3 sys/ntfs/Makefile
--- a/sys/ntfs/Makefile Wed Sep 29 15:31:11 1999 +0000
+++ b/sys/ntfs/Makefile Wed Sep 29 15:36:07 1999 +0000
@@ -1,9 +1,9 @@
-#      $NetBSD: Makefile,v 1.1 1999/05/17 16:41:49 kleink Exp $
+#      $NetBSD: Makefile,v 1.2 1999/09/29 15:36:07 jdolecek Exp $
 
 KDIR=  /sys/ntfs
 INCSDIR= /usr/include/ntfs
 
-INCS=  ntfs.h ntfs_compr.h ntfs_extern.h ntfs_ihash.h ntfs_inode.h \
-       ntfs_subr.h ntfs_vfsops.h ntfsmount.h
+INCS=  ntfs.h ntfs_compr.h ntfs_ihash.h ntfs_inode.h ntfs_subr.h \
+       ntfs_vfsops.h ntfsmount.h
 
 .include <bsd.kinc.mk>
diff -r f316ab9c5ef6 -r 649d1beec7a3 sys/ntfs/ntfs_extern.h
--- a/sys/ntfs/ntfs_extern.h    Wed Sep 29 15:31:11 1999 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-/*     $NetBSD: ntfs_extern.h,v 1.3 1999/07/26 14:02:31 jdolecek Exp $ */
-
-/*-
- * Copyright (c) 1998, 1999 Semen Ustimenko
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- *     Id: ntfs_extern.h,v 1.4 1999/05/12 09:42:57 semenu Exp
- */
-
-struct sockaddr;
-int ntfs_fget(struct ntfsmount *, struct ntnode *, int, char *, struct fnode **);
-void ntfs_frele(struct fnode *);
diff -r f316ab9c5ef6 -r 649d1beec7a3 sys/ntfs/ntfs_subr.c
--- a/sys/ntfs/ntfs_subr.c      Wed Sep 29 15:31:11 1999 +0000
+++ b/sys/ntfs/ntfs_subr.c      Wed Sep 29 15:36:07 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ntfs_subr.c,v 1.14 1999/09/28 06:10:31 jdolecek Exp $  */
+/*     $NetBSD: ntfs_subr.c,v 1.15 1999/09/29 15:36:08 jdolecek Exp $  */
 
 /*-
  * Copyright (c) 1998, 1999 Semen Ustimenko (semenu%FreeBSD.org@localhost)
@@ -51,7 +51,6 @@
 #include <ntfs/ntfsmount.h>
 #include <ntfs/ntfs_inode.h>
 #include <ntfs/ntfs_vfsops.h>
-#include <ntfs/ntfs_extern.h>
 #include <ntfs/ntfs_subr.h>
 #include <ntfs/ntfs_compr.h>
 #include <ntfs/ntfs_ihash.h>
diff -r f316ab9c5ef6 -r 649d1beec7a3 sys/ntfs/ntfs_subr.h
--- a/sys/ntfs/ntfs_subr.h      Wed Sep 29 15:31:11 1999 +0000
+++ b/sys/ntfs/ntfs_subr.h      Wed Sep 29 15:36:07 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ntfs_subr.h,v 1.6 1999/09/28 06:10:31 jdolecek Exp $   */
+/*     $NetBSD: ntfs_subr.h,v 1.7 1999/09/29 15:36:08 jdolecek Exp $   */
 
 /*-
  * Copyright (c) 1998, 1999 Semen Ustimenko
@@ -113,3 +113,5 @@
 void ntfs_toupper_init __P((void));
 int ntfs_toupper_use __P((struct mount *, struct ntfsmount *));
 void ntfs_toupper_unuse __P((void));
+int ntfs_fget __P((struct ntfsmount *, struct ntnode *, int, char *, struct fnode **));
+void ntfs_frele __P((struct fnode *));
diff -r f316ab9c5ef6 -r 649d1beec7a3 sys/ntfs/ntfs_vfsops.c
--- a/sys/ntfs/ntfs_vfsops.c    Wed Sep 29 15:31:11 1999 +0000
+++ b/sys/ntfs/ntfs_vfsops.c    Wed Sep 29 15:36:07 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ntfs_vfsops.c,v 1.13 1999/09/28 05:44:21 jdolecek Exp $        */
+/*     $NetBSD: ntfs_vfsops.c,v 1.14 1999/09/29 15:36:08 jdolecek Exp $        */
 
 /*-
  * Copyright (c) 1998, 1999 Semen Ustimenko
@@ -58,7 +58,6 @@
 #include <ntfs/ntfs_subr.h>
 #include <ntfs/ntfs_vfsops.h>
 #include <ntfs/ntfs_ihash.h>
-#include <ntfs/ntfs_extern.h>
 #include <ntfs/ntfsmount.h>
 
 #if defined(__FreeBSD__)
diff -r f316ab9c5ef6 -r 649d1beec7a3 sys/ntfs/ntfs_vnops.c
--- a/sys/ntfs/ntfs_vnops.c     Wed Sep 29 15:31:11 1999 +0000
+++ b/sys/ntfs/ntfs_vnops.c     Wed Sep 29 15:36:07 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ntfs_vnops.c,v 1.16 1999/09/22 14:39:53 jdolecek Exp $ */
+/*     $NetBSD: ntfs_vnops.c,v 1.17 1999/09/29 15:36:08 jdolecek Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -70,7 +70,6 @@
 #include <ntfs/ntfs.h>
 #include <ntfs/ntfs_inode.h>
 #include <ntfs/ntfs_subr.h>
-#include <ntfs/ntfs_extern.h>
 #include <miscfs/specfs/specdev.h>
 #include <miscfs/genfs/genfs.h>
 



Home | Main Index | Thread Index | Old Index