Changeset 82650385 in mainline for uspace/srv/fs


Ignore:
Timestamp:
2011-03-05T17:11:24Z (15 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3564cdd
Parents:
939b7d2
Message:

export minixfs headers into a separate library

Location:
uspace/srv/fs/minixfs
Files:
3 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/minixfs/mfs.c

    r939b7d2 r82650385  
    4747#include <libfs.h>
    4848#include "mfs.h"
    49 #include "mfs_super.h"
    5049
    5150#define NAME    "mfs"
  • uspace/srv/fs/minixfs/mfs.h

    r939b7d2 r82650385  
    3434#define _MFS_H_
    3535
    36 #include "mfs_const.h"
     36#include <fs/minix.h>
    3737#include "../../vfs/vfs.h"
     38
     39typedef enum {
     40        MFS_VERSION_V1 = 1,
     41        MFS_VERSION_V1L,
     42        MFS_VERSION_V2,
     43        MFS_VERSION_V2L,
     44        MFS_VERSION_V3
     45} mfs_version_t;
    3846
    3947extern void mfs_mounted(ipc_callid_t rid, ipc_call_t *request);
  • uspace/srv/fs/minixfs/mfs_super.c

    r939b7d2 r82650385  
    3737#include <str.h>
    3838#include "mfs.h"
    39 #include "mfs_super.h"
    4039#include "mfs_utils.h"
    4140#include "../../vfs/vfs.h"
  • uspace/srv/fs/minixfs/mfs_utils.h

    r939b7d2 r82650385  
    3131 */
    3232
    33 #include "mfs_const.h"
     33#ifndef _MFS_UTILS_H_
     34#define _MFS_UTILS_H_
     35
     36#include <sys/types.h>
     37#include <bool.h>
    3438
    3539uint16_t conv16(bool native, uint16_t n);
    3640uint32_t conv32(bool native, uint32_t n);
     41
     42#endif
    3743
    3844/**
Note: See TracChangeset for help on using the changeset viewer.