mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-28 07:32:28 +08:00
2011-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/imfs/imfs_eval.c: Make IMFS_evaluate_permission, IMFS_evaluate_hard_link, IMFS_evaluate_sym_link static. * libfs/src/imfs/imfs_fifo.c: Make IMFS_fifo_open, IMFS_fifo_close, IMFS_fifo_read, IMFS_fifo_write, IMFS_fifo_ioctl static.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2011-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* libfs/src/imfs/imfs_eval.c: Make IMFS_evaluate_permission,
|
||||
IMFS_evaluate_hard_link, IMFS_evaluate_sym_link static.
|
||||
* libfs/src/imfs/imfs_fifo.c: Make IMFS_fifo_open,
|
||||
IMFS_fifo_close, IMFS_fifo_read, IMFS_fifo_write,
|
||||
IMFS_fifo_ioctl static.
|
||||
|
||||
2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/check-smp.m4: Fix bogus log message.
|
||||
|
||||
@@ -70,7 +70,7 @@ int IMFS_Set_handlers(
|
||||
* The following routine evaluates that we have permission
|
||||
* to do flags on the node.
|
||||
*/
|
||||
int IMFS_evaluate_permission(
|
||||
static int IMFS_evaluate_permission(
|
||||
rtems_filesystem_location_info_t *node,
|
||||
int flags
|
||||
)
|
||||
@@ -123,7 +123,7 @@ int IMFS_evaluate_permission(
|
||||
* The following routine evaluates a hardlink to the actual node.
|
||||
*/
|
||||
|
||||
int IMFS_evaluate_hard_link(
|
||||
static int IMFS_evaluate_hard_link(
|
||||
rtems_filesystem_location_info_t *node, /* IN/OUT */
|
||||
int flags /* IN */
|
||||
)
|
||||
@@ -160,7 +160,7 @@ int IMFS_evaluate_hard_link(
|
||||
* The following routine evaluates a symbolic link to the actual node.
|
||||
*/
|
||||
|
||||
int IMFS_evaluate_sym_link(
|
||||
static int IMFS_evaluate_sym_link(
|
||||
rtems_filesystem_location_info_t *node, /* IN/OUT */
|
||||
int flags /* IN */
|
||||
)
|
||||
|
||||
@@ -32,7 +32,7 @@ do { \
|
||||
return _err; \
|
||||
} while (0)
|
||||
|
||||
int IMFS_fifo_open(
|
||||
static int IMFS_fifo_open(
|
||||
rtems_libio_t *iop,
|
||||
const char *pathname,
|
||||
uint32_t flag,
|
||||
@@ -45,7 +45,7 @@ int IMFS_fifo_open(
|
||||
IMFS_FIFO_RETURN(err);
|
||||
}
|
||||
|
||||
int IMFS_fifo_close(
|
||||
static int IMFS_fifo_close(
|
||||
rtems_libio_t *iop
|
||||
)
|
||||
{
|
||||
@@ -60,7 +60,7 @@ int IMFS_fifo_close(
|
||||
IMFS_FIFO_RETURN(err);
|
||||
}
|
||||
|
||||
ssize_t IMFS_fifo_read(
|
||||
static ssize_t IMFS_fifo_read(
|
||||
rtems_libio_t *iop,
|
||||
void *buffer,
|
||||
size_t count
|
||||
@@ -75,7 +75,7 @@ ssize_t IMFS_fifo_read(
|
||||
IMFS_FIFO_RETURN(err);
|
||||
}
|
||||
|
||||
ssize_t IMFS_fifo_write(
|
||||
static ssize_t IMFS_fifo_write(
|
||||
rtems_libio_t *iop,
|
||||
const void *buffer,
|
||||
size_t count
|
||||
@@ -91,7 +91,7 @@ ssize_t IMFS_fifo_write(
|
||||
IMFS_FIFO_RETURN(err);
|
||||
}
|
||||
|
||||
int IMFS_fifo_ioctl(
|
||||
static int IMFS_fifo_ioctl(
|
||||
rtems_libio_t *iop,
|
||||
uint32_t command,
|
||||
void *buffer
|
||||
@@ -116,7 +116,7 @@ int IMFS_fifo_ioctl(
|
||||
IMFS_FIFO_RETURN(err);
|
||||
}
|
||||
|
||||
off_t IMFS_fifo_lseek(
|
||||
static off_t IMFS_fifo_lseek(
|
||||
rtems_libio_t *iop,
|
||||
off_t offset,
|
||||
int whence
|
||||
|
||||
Reference in New Issue
Block a user