diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-06-23 18:24:22 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-06-23 18:24:22 +0000 |
commit | 51a342b88a4e022f4c08669633293fb7dc4ab0f1 (patch) | |
tree | 6eb5a0ecdaf27935e4269443416217b734265d81 /src/xine-utils/xine_buffer.h | |
parent | 5ba0560dad4cc01ec8560dcf41d2395357b3063b (diff) | |
download | xine-lib-51a342b88a4e022f4c08669633293fb7dc4ab0f1.tar.gz xine-lib-51a342b88a4e022f4c08669633293fb7dc4ab0f1.tar.bz2 |
Miscellaneous static/const fixups.
Optimise away _xine_buffer_strcat.
CVS patchset: 8073
CVS date: 2006/06/23 18:24:22
Diffstat (limited to 'src/xine-utils/xine_buffer.h')
-rw-r--r-- | src/xine-utils/xine_buffer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xine-utils/xine_buffer.h b/src/xine-utils/xine_buffer.h index 2cb7dfe72..197807d57 100644 --- a/src/xine-utils/xine_buffer.h +++ b/src/xine-utils/xine_buffer.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: xine_buffer.h,v 1.5 2006/02/14 19:12:16 dsalt Exp $ + * $Id: xine_buffer.h,v 1.6 2006/06/23 18:24:22 dsalt Exp $ * * * generic dynamic buffer functions. The goals @@ -76,7 +76,7 @@ void *_xine_buffer_free(void *buf); /* * duplicates a buffer */ -void *xine_buffer_dup(void *buf); +void *xine_buffer_dup(const void *buf); /* * will copy len bytes of data into buf at position index. @@ -100,7 +100,7 @@ void xine_buffer_copyout(const void *buf, int index, void *data, int len); void *_xine_buffer_set(void *buf, int index, uint8_t b, int len); /* - * concatnates given buf (which schould contain a null terminated string) + * concatenates given buf (which should contain a null terminated string) * with another string. */ #define xine_buffer_strcat(buf,data) \ |