From a3ded7d74f5e8bb08f4fc25ff75ca6b534c633dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Sun, 23 Dec 2007 18:44:29 +0100 Subject: Remove XINE_COMPILE conditionals where they just changed the include directive paths. --- include/xine.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include/xine.h') diff --git a/include/xine.h b/include/xine.h index da1d394a3..1d26daa19 100644 --- a/include/xine.h +++ b/include/xine.h @@ -55,12 +55,7 @@ extern "C" { #include #endif -#ifdef XINE_COMPILE -#include -#else #include -#endif - #include #include -- cgit v1.2.3 From 25637e5a99d5a9cabd5a37b5746bcadcda1b2360 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Wed, 2 Jan 2008 19:01:39 +0100 Subject: Mark xine_health_check_s strings as constant. --- include/xine.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/xine.h') diff --git a/include/xine.h b/include/xine.h index 1d26daa19..c3ac38cbf 100644 --- a/include/xine.h +++ b/include/xine.h @@ -1335,9 +1335,9 @@ typedef struct { struct xine_health_check_s { const char* cdrom_dev; const char* dvd_dev; - char* msg; - char* title; - char* explanation; + const char* msg; + const char* title; + const char* explanation; int status; }; -- cgit v1.2.3 From 299a77d45f12f0e9103925a86b985f307e8eee6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Wed, 2 Jan 2008 19:14:22 +0100 Subject: Make description and name of post-plugin parameters constant. --- include/xine.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/xine.h') diff --git a/include/xine.h b/include/xine.h index c3ac38cbf..17b8cfbf6 100644 --- a/include/xine.h +++ b/include/xine.h @@ -707,14 +707,14 @@ void xine_post_dispose(xine_t *xine, xine_post_t *self) XINE_PROTECTED; /* defines a single parameter entry. */ typedef struct { int type; /* POST_PARAM_TYPE_xxx */ - char *name; /* name of this parameter */ + const char *name; /* name of this parameter */ int size; /* sizeof(parameter) */ int offset; /* offset in bytes from struct ptr */ char **enum_values; /* enumeration (first=0) or NULL */ double range_min; /* minimum value */ double range_max; /* maximum value */ int readonly; /* 0 = read/write, 1=read-only */ - char *description; /* user-friendly description */ + const char *description; /* user-friendly description */ } xine_post_api_parameter_t; /* description of parameters struct (params). */ -- cgit v1.2.3