diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-06-28 14:33:34 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-06-28 14:33:34 +0000 |
commit | 170f26aa1788c932bb6715776d8789445b714509 (patch) | |
tree | c0fcc55959b44965d9aa828b2e69395b8b561052 /cpukit/libmisc/dumpbuf | |
parent | 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-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.c | 12 | ||||
-rw-r--r-- | cpukit/libmisc/dumpbuf/dumpbuf.h | 4 |
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 |