mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-20 04:26:04 +08:00
Move file-system header files to include/nuttx/fs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4499 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -46,7 +46,7 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#include <nuttx/ramdisk.h>
|
#include <nuttx/ramdisk.h>
|
||||||
#include <nuttx/mkfatfs.h>
|
#include <nuttx/fs/mkfatfs.h>
|
||||||
|
|
||||||
#include "mount.h"
|
#include "mount.h"
|
||||||
|
|
||||||
|
@@ -53,7 +53,7 @@
|
|||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
#include <nuttx/mtd.h>
|
#include <nuttx/mtd.h>
|
||||||
#include <nuttx/nxffs.h>
|
#include <nuttx/fs/nxffs.h>
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Definitions
|
* Definitions
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* examples/pashello/device.c
|
* examples/pashello/device.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2008, 2012 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <nuttx/fs.h>
|
#include <nuttx/fs/fs.h>
|
||||||
|
|
||||||
#include "hello.h"
|
#include "hello.h"
|
||||||
#include "pashello.h"
|
#include "pashello.h"
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* apps/namedapps/binfs.c
|
* apps/namedapps/binfs.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
@@ -52,8 +52,8 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
#include <nuttx/fs.h>
|
#include <nuttx/fs/fs.h>
|
||||||
#include <nuttx/dirent.h>
|
#include <nuttx/fs/dirent.h>
|
||||||
|
|
||||||
#include "namedapp.h"
|
#include "namedapp.h"
|
||||||
|
|
||||||
|
@@ -56,7 +56,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <poll.h>
|
#include <poll.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <nuttx/fs.h>
|
#include <nuttx/fs/fs.h>
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
#include <nuttx/net/net.h>
|
#include <nuttx/net/net.h>
|
||||||
|
@@ -485,7 +485,7 @@ o mkfatfs <path>
|
|||||||
NSH provides this command to access the mkfatfs() NuttX API.
|
NSH provides this command to access the mkfatfs() NuttX API.
|
||||||
This block device must reside in the NuttX psuedo filesystem and
|
This block device must reside in the NuttX psuedo filesystem and
|
||||||
must have been created by some call to register_blockdriver() (see
|
must have been created by some call to register_blockdriver() (see
|
||||||
include/nuttx/fs.h).
|
include/nuttx/fs/fs.h).
|
||||||
|
|
||||||
o mkfifo <path>
|
o mkfifo <path>
|
||||||
|
|
||||||
|
@@ -51,7 +51,7 @@
|
|||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#include <nuttx/fs.h>
|
#include <nuttx/fs/fs.h>
|
||||||
|
|
||||||
#include "nsh.h"
|
#include "nsh.h"
|
||||||
#include "nsh_console.h"
|
#include "nsh_console.h"
|
||||||
|
@@ -52,7 +52,7 @@
|
|||||||
# include <nuttx/ramdisk.h>
|
# include <nuttx/ramdisk.h>
|
||||||
# endif
|
# endif
|
||||||
# ifdef CONFIG_FS_FAT
|
# ifdef CONFIG_FS_FAT
|
||||||
# include <nuttx/mkfatfs.h>
|
# include <nuttx/fs/mkfatfs.h>
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user