Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 10/30/2000 22:57:01
Module Name:	basesrc
Committed By:	jdolecek
Date:		Mon Oct 30 20:57:01 UTC 2000

Modified Files:
	basesrc/sbin/mount_ados: Makefile mount_ados.c
	basesrc/sbin/mount_cd9660: mount_cd9660.c
	basesrc/sbin/mount_ext2fs: mount_ext2fs.c
	basesrc/sbin/mount_fdesc: mount_fdesc.c
	basesrc/sbin/mount_ffs: mount_ffs.c
	basesrc/sbin/mount_filecore: Makefile mount_filecore.c
	basesrc/sbin/mount_kernfs: mount_kernfs.c
	basesrc/sbin/mount_lfs: mount_lfs.c
	basesrc/sbin/mount_msdos: Makefile mount_msdos.c
	basesrc/sbin/mount_nfs: mount_nfs.c
	basesrc/sbin/mount_ntfs: Makefile mount_ntfs.c
	basesrc/sbin/mount_null: mount_null.c
	basesrc/sbin/mount_overlay: mount_overlay.c
	basesrc/sbin/mount_procfs: mount_procfs.c
	basesrc/sbin/mount_umap: mount_umap.c
	basesrc/sbin/mount_union: mount_union.c
Added Files:
	basesrc/sbin/mount: fattr.c fattr.h

Log Message:
make the code includable into other programs:
* make static all symbols which do not need to be exported
* rename main() to mount_FOO()
* new main() now just calls mount_FOO(), main() is only compiled in if
  MOUNT_NOMAIN is not defined
* a_gid(), a_uid() and a_mask() were put into ../mount/fattr.[ch], local
  versions removed


To generate a diff of this commit:
cvs rdiff -r0 -r1.1 basesrc/sbin/mount/fattr.c basesrc/sbin/mount/fattr.h
cvs rdiff -r1.8 -r1.9 basesrc/sbin/mount_ados/Makefile
cvs rdiff -r1.11 -r1.12 basesrc/sbin/mount_ados/mount_ados.c
cvs rdiff -r1.13 -r1.14 basesrc/sbin/mount_cd9660/mount_cd9660.c
cvs rdiff -r1.7 -r1.8 basesrc/sbin/mount_ext2fs/mount_ext2fs.c
cvs rdiff -r1.10 -r1.11 basesrc/sbin/mount_fdesc/mount_fdesc.c
cvs rdiff -r1.11 -r1.12 basesrc/sbin/mount_ffs/mount_ffs.c
cvs rdiff -r1.2 -r1.3 basesrc/sbin/mount_filecore/Makefile
cvs rdiff -r1.3 -r1.4 basesrc/sbin/mount_filecore/mount_filecore.c
cvs rdiff -r1.11 -r1.12 basesrc/sbin/mount_kernfs/mount_kernfs.c
cvs rdiff -r1.10 -r1.11 basesrc/sbin/mount_lfs/mount_lfs.c
cvs rdiff -r1.14 -r1.15 basesrc/sbin/mount_msdos/Makefile
cvs rdiff -r1.23 -r1.24 basesrc/sbin/mount_msdos/mount_msdos.c
cvs rdiff -r1.28 -r1.29 basesrc/sbin/mount_nfs/mount_nfs.c
cvs rdiff -r1.3 -r1.4 basesrc/sbin/mount_ntfs/Makefile
cvs rdiff -r1.4 -r1.5 basesrc/sbin/mount_ntfs/mount_ntfs.c
cvs rdiff -r1.7 -r1.8 basesrc/sbin/mount_null/mount_null.c
cvs rdiff -r1.1 -r1.2 basesrc/sbin/mount_overlay/mount_overlay.c
cvs rdiff -r1.10 -r1.11 basesrc/sbin/mount_procfs/mount_procfs.c
cvs rdiff -r1.10 -r1.11 basesrc/sbin/mount_umap/mount_umap.c
cvs rdiff -r1.6 -r1.7 basesrc/sbin/mount_union/mount_union.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.