diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-09 13:04:48 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-09 13:04:48 +0000 |
commit | da13f46bdb79104d547812ad20988e7dd90932b5 (patch) | |
tree | c055325890fcca6cc4d100d1514e96a71a67cf99 /cpukit | |
parent | 2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-da13f46bdb79104d547812ad20988e7dd90932b5.tar.bz2 |
2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/src/flashdisk.c:
Make rtems_fdisk_crc16_gen_factors static.
* libblock/src/nvdisk.c:
Make rtems_nvdisk_crc16_gen_factors static.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 7 | ||||
-rw-r--r-- | cpukit/libblock/src/flashdisk.c | 2 | ||||
-rw-r--r-- | cpukit/libblock/src/nvdisk.c | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 5511d6f1df..28e8e3579a 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,12 @@ 2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org> + * libblock/src/flashdisk.c: + Make rtems_fdisk_crc16_gen_factors static. + * libblock/src/nvdisk.c: + Make rtems_nvdisk_crc16_gen_factors static. + +2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org> + * rtems/src/rtemsobjectsetname.c: Include <rtems/rtems/object.h> (Missing prototype). * rtems/src/rtemsobjectgetclassicname.c: diff --git a/cpukit/libblock/src/flashdisk.c b/cpukit/libblock/src/flashdisk.c index 6902e3d0ea..9654d38626 100644 --- a/cpukit/libblock/src/flashdisk.c +++ b/cpukit/libblock/src/flashdisk.c @@ -303,7 +303,7 @@ static uint16_t* rtems_fdisk_crc16_factor; * @relval RTEMS_SUCCESSFUL The table was generated. * @retval RTEMS_NO_MEMORY The table could not be allocated from the heap. */ -rtems_status_code +static rtems_status_code rtems_fdisk_crc16_gen_factors (uint16_t pattern) { uint32_t b; diff --git a/cpukit/libblock/src/nvdisk.c b/cpukit/libblock/src/nvdisk.c index 26c0f40309..8cd3037791 100644 --- a/cpukit/libblock/src/nvdisk.c +++ b/cpukit/libblock/src/nvdisk.c @@ -134,7 +134,7 @@ static uint16_t* rtems_nvdisk_crc16_factor; * @relval RTEMS_SUCCESSFUL The table was generated. * @retval RTEMS_NO_MEMORY The table could not be allocated from the heap. */ -rtems_status_code +static rtems_status_code rtems_nvdisk_crc16_gen_factors (uint16_t pattern) { uint32_t b; |