diff options
author | James Stembridge <jstembridge@users.sourceforge.net> | 2003-12-04 22:15:25 +0000 |
---|---|---|
committer | James Stembridge <jstembridge@users.sourceforge.net> | 2003-12-04 22:15:25 +0000 |
commit | 0ccb893d438e0517416c46f4ed2b824a1b582405 (patch) | |
tree | f338877e60f97a50d45178c832897a5a42ba7317 | |
parent | ddeb112842ae61e56a61b8acdc909895d44837b0 (diff) | |
download | xine-lib-0ccb893d438e0517416c46f4ed2b824a1b582405.tar.gz xine-lib-0ccb893d438e0517416c46f4ed2b824a1b582405.tar.bz2 |
some const correctness
CVS patchset: 5841
CVS date: 2003/12/04 22:15:25
-rw-r--r-- | src/xine-utils/utils.c | 4 | ||||
-rw-r--r-- | src/xine-utils/xineutils.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/xine-utils/utils.c b/src/xine-utils/utils.c index be5220231..bb8c2bee2 100644 --- a/src/xine-utils/utils.c +++ b/src/xine-utils/utils.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: utils.c,v 1.19 2003/11/04 14:38:26 valtri Exp $ + * $Id: utils.c,v 1.20 2003/12/04 22:15:25 jstembridge Exp $ * */ #define _POSIX_PTHREAD_SEMANTICS 1 /* for 5-arg getpwuid_r on solaris */ @@ -167,7 +167,7 @@ void xine_print_trace (void) { } /* print a hexdump of length bytes from the data given in buf */ -void xine_hexdump (char *buf, int length) { +void xine_hexdump (const char *buf, int length) { int i,j; unsigned char c; diff --git a/src/xine-utils/xineutils.h b/src/xine-utils/xineutils.h index 93fc3b812..313e23fc4 100644 --- a/src/xine-utils/xineutils.h +++ b/src/xine-utils/xineutils.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xineutils.h,v 1.66 2003/11/26 23:44:11 f1rmb Exp $ + * $Id: xineutils.h,v 1.67 2003/12/04 22:15:26 jstembridge Exp $ * */ #ifndef XINEUTILS_H @@ -828,7 +828,7 @@ extern int v_g_table[256]; extern int v_b_table[256]; /* print a hexdump of the given data */ -void xine_hexdump (char *buf, int length); +void xine_hexdump (const char *buf, int length); /* backtrace printout funtion for use in XINE_ASSERT() macro */ void xine_print_trace(void); |