summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/dumpbuf
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-06-28 14:33:34 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-06-28 14:33:34 +0000
commit170f26aa1788c932bb6715776d8789445b714509 (patch)
treec0fcc55959b44965d9aa828b2e69395b8b561052 /cpukit/libmisc/dumpbuf
parent2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-170f26aa1788c932bb6715776d8789445b714509.tar.bz2
2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Add const.
Diffstat (limited to 'cpukit/libmisc/dumpbuf')
-rw-r--r--cpukit/libmisc/dumpbuf/dumpbuf.c12
-rw-r--r--cpukit/libmisc/dumpbuf/dumpbuf.h4
2 files changed, 8 insertions, 8 deletions
diff --git a/cpukit/libmisc/dumpbuf/dumpbuf.c b/cpukit/libmisc/dumpbuf/dumpbuf.c
index 7a99e4e322..97274ecbaa 100644
--- a/cpukit/libmisc/dumpbuf/dumpbuf.c
+++ b/cpukit/libmisc/dumpbuf/dumpbuf.c
@@ -24,13 +24,13 @@
*/
static inline void Dump_Line(
- unsigned char *buffer,
- int length
+ const unsigned char *buffer,
+ int length
);
void rtems_print_buffer(
- unsigned char *buffer,
- int length
+ const unsigned char *buffer,
+ int length
)
{
@@ -50,8 +50,8 @@ void rtems_print_buffer(
}
static inline void Dump_Line(
- unsigned char *buffer,
- int length
+ const unsigned char *buffer,
+ int length
)
{
diff --git a/cpukit/libmisc/dumpbuf/dumpbuf.h b/cpukit/libmisc/dumpbuf/dumpbuf.h
index 9347ce5fa8..3502ace70a 100644
--- a/cpukit/libmisc/dumpbuf/dumpbuf.h
+++ b/cpukit/libmisc/dumpbuf/dumpbuf.h
@@ -27,8 +27,8 @@ extern "C" {
* @param[in] length is the length of the buffer
*/
void rtems_print_buffer(
- unsigned char *buffer,
- int length
+ const unsigned char *buffer,
+ int length
);
#ifdef __cplusplus