minix/sys/lib/libsa/lfsv1.c
Lionel Sambuc f14fb60209 Libraries updates and cleanup
* Updating common/lib
 * Updating lib/csu
 * Updating lib/libc
 * Updating libexec/ld.elf_so
 * Corrected test on __minix in featuretest to actually follow the
   meaning of the comment.
 * Cleaned up _REENTRANT-related defintions.
 * Disabled -D_REENTRANT for libfetch
 * Removing some unneeded __NBSD_LIBC defines and tests

Change-Id: Ic1394baef74d11b9f86b312f5ff4bbc3cbf72ce2
2013-01-14 11:36:26 +01:00

25 lines
589 B
C

/* $NetBSD: lfsv1.c,v 1.5 2012/05/21 21:34:16 dsl Exp $ */
#define LIBSA_LFS
#define REQUIRED_LFS_VERSION 1
#define ufs_open lfsv1_open
#define ufs_close lfsv1_close
#define ufs_read lfsv1_read
#define ufs_write lfsv1_write
#define ufs_seek lfsv1_seek
#define ufs_stat lfsv1_stat
#if defined(LIBSA_ENABLE_LS_OP)
#define ufs_ls lfsv1_ls
#endif
#define fs_bsize lfs_ibsize
#define IFILE_Vx IFILE_V1
#define FSBTODB(fs, daddr) (daddr) /* LFSv1 uses sectors for addresses */
#define INOPBx(fs) INOPB(fs)
#define FSMOD "lfs"
#define FSMOD2 "ffs"
#include "lib/libsa/ufs.c"