diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-02-14 02:25:00 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-02-14 02:25:00 +0000 |
commit | 7a1df8370c3fa8ae1d6748863d58df4c79c33a5d (patch) | |
tree | ef95518044afab89e29b6139478644eeacfcd3d8 /src/xine-utils/xmllexer.h | |
parent | 5a0c3719740f0143d0edaff6fd99daf50fb52944 (diff) | |
download | xine-lib-7a1df8370c3fa8ae1d6748863d58df4c79c33a5d.tar.gz xine-lib-7a1df8370c3fa8ae1d6748863d58df4c79c33a5d.tar.bz2 |
Minor constness fixups.
Remove some unnecessary NULL tests (free()).
Replace an unneeded printf() wrapper.
CVS patchset: 7891
CVS date: 2006/02/14 02:25:00
Diffstat (limited to 'src/xine-utils/xmllexer.h')
-rw-r--r-- | src/xine-utils/xmllexer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xine-utils/xmllexer.h b/src/xine-utils/xmllexer.h index 77c28c631..abc0189e9 100644 --- a/src/xine-utils/xmllexer.h +++ b/src/xine-utils/xmllexer.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: xmllexer.h,v 1.5 2005/01/16 18:47:19 mroi Exp $ + * $Id: xmllexer.h,v 1.6 2006/02/14 02:25:01 dsalt Exp $ * */ @@ -48,8 +48,8 @@ /* public functions */ -void lexer_init(char * buf, int size); +void lexer_init(const char * buf, int size); int lexer_get_token(char * tok, int tok_size); -char *lexer_decode_entities (char *tok); +char *lexer_decode_entities (const char *tok); #endif |