summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-01-19 00:12:22 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-01-19 00:12:22 +0000
commit703ba00e157e08035262393e8af9bb4b4d979c4c (patch)
treecb0d3685fd1865fb7e90678a1682499c6e106d2f /src
parentbfc1b44063ed6cfbc97da722803d6da90de0cf53 (diff)
downloadxine-lib-703ba00e157e08035262393e8af9bb4b4d979c4c.tar.gz
xine-lib-703ba00e157e08035262393e8af9bb4b4d979c4c.tar.bz2
Fix constant on ordered attribute.
CVS patchset: 8522 CVS date: 2007/01/19 00:12:22
Diffstat (limited to 'src')
-rw-r--r--src/xine-engine/scratch.c4
-rw-r--r--src/xine-engine/scratch.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/xine-engine/scratch.c b/src/xine-engine/scratch.c
index d750a8a07..67281b041 100644
--- a/src/xine-engine/scratch.c
+++ b/src/xine-engine/scratch.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: scratch.c,v 1.23 2006/12/13 18:30:30 dsalt Exp $
+ * $Id: scratch.c,v 1.24 2007/01/19 00:12:22 dgp85 Exp $
*
* top-level xine functions
*
@@ -67,7 +67,7 @@ static void __attribute__((__format__(__printf__, 2, 0)))
pthread_mutex_unlock (&this->lock);
}
-static const char **scratch_get_content (scratch_buffer_t *this) {
+static char **scratch_get_content (scratch_buffer_t *this) {
int i, j;
pthread_mutex_lock (&this->lock);
diff --git a/src/xine-engine/scratch.h b/src/xine-engine/scratch.h
index 719a9f8d9..bcfe815c3 100644
--- a/src/xine-engine/scratch.h
+++ b/src/xine-engine/scratch.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: scratch.h,v 1.12 2006/12/13 18:30:30 dsalt Exp $
+ * $Id: scratch.h,v 1.13 2007/01/19 00:12:22 dgp85 Exp $
*
* scratch buffer for log output
*
@@ -41,12 +41,12 @@ struct scratch_buffer_s {
#endif
(*scratch_printf) (scratch_buffer_t *this, const char *format, va_list ap);
- const char **(*get_content) (scratch_buffer_t *this);
+ char **(*get_content) (scratch_buffer_t *this);
void (*dispose) (scratch_buffer_t *this);
char **lines;
- const char **ordered;
+ char **ordered;
int num_lines;
int cur;