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 | |
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.
-rw-r--r-- | cpukit/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/libmisc/dumpbuf/dumpbuf.c | 12 | ||||
-rw-r--r-- | cpukit/libmisc/dumpbuf/dumpbuf.h | 4 |
3 files changed, 12 insertions, 8 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index b449c5539d..356459a1f5 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,7 @@ +2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com> + + * libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Add const. + 2010-06-25 Jennifer Averett <Jennifer.Averett@OARcorp.com * libcsupport/include/rtems/libio.h, libfs/Makefile.am: Added default 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 |