minix/minix/lib/libpuffs/fs.h
David van Moolenbroek ba736c7968 libpuffs: clean up, unbreak
- move MINIX3-specific files into minix/lib/libpuffs;
- resynchronize the remaining files with NetBSD code;
- remove a few unnecessary changes;
- put remaining MINIX3-specific changes in __minix blocks;
- sort out the source files being linked at all.

The result is that libpuffs now successfully links against FUSE
file system programs again.  It can successfully mount, perform
some of the most basic operations, and unmount the file system.

Change-Id: Ieac220f7ad8c4d1fa293abda81967e8045be0bb4
2015-09-23 12:05:03 +00:00

39 lines
828 B
C

#ifndef LIBPUFFS_FS_H
#define LIBPUFFS_FS_H
/* This is the master header for fs. It includes some other files
* and defines the principal constants.
*/
#define _SYSTEM 1 /* tell headers that this is the kernel */
#define VERBOSE 0 /* show messages during initialization? */
/* The following are so basic, all the *.c files get them automatically. */
#include <minix/config.h> /* MUST be first */
#include <sys/cdefs.h>
#include <sys/types.h>
#include <minix/const.h>
#include <minix/type.h>
#include <lib.h>
#include <limits.h>
#include <errno.h>
#include <minix/syslib.h>
#include <minix/sysutil.h>
#include <minix/fsdriver.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "puffs.h"
#include "puffs_priv.h"
#include "const.h"
#include "proto.h"
#include "glo.h"
#endif /* LIBPUFFS_FS_H */