summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/devfs/devfs_node_type.c
blob: 8643d2d0a5c4207a76f3ed948248f2bdced2df6e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.com/license/LICENSE.
 *
 *  $Id$
 */

#if HAVE_CONFIG_H
#include "config.h"
#endif

#include "devfs.h"

int devFS_node_type(
  rtems_filesystem_location_info_t  *pathloc
)
{
  /*
   * There is only one type of node: device
   */

  return RTEMS_FILESYSTEM_DEVICE;
}