changeset 17:a68c6da98b73 src

Actually fix the const this time!
author jcdutton
date Wed, 10 Apr 2002 16:45:57 +0000
parents 46fbd218a689
children e6ac0a8d9c14
files dvdnav.c dvdnav.h vm.c vm.h
diffstat 4 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/dvdnav.c	Wed Apr 10 16:40:52 2002 +0000
+++ b/dvdnav.c	Wed Apr 10 16:45:57 2002 +0000
@@ -82,7 +82,7 @@
   return S_OK;
 }
 
-dvdnav_status_t dvdnav_open(dvdnav_t** dest, const char *path) {
+dvdnav_status_t dvdnav_open(dvdnav_t** dest, char *path) {
   dvdnav_t *self;
   
   /* Create a new structure */
@@ -988,6 +988,9 @@
 
 /*
  * $Log$
+ * Revision 1.7  2002/04/10 16:45:57  jcdutton
+ * Actually fix the const this time!
+ *
  * Revision 1.6  2002/04/07 14:10:11  richwareham
  * Stop C++ bitching about some things and extend the menus example
  *
--- a/dvdnav.h	Wed Apr 10 16:40:52 2002 +0000
+++ b/dvdnav.h	Wed Apr 10 16:45:57 2002 +0000
@@ -61,7 +61,7 @@
  *   dest     -- Pointer to a dvdnav_t pointer to fill in.
  *   path     -- Any libdvdread acceptable path
  */
-dvdnav_status_t dvdnav_open(dvdnav_t** dest, const char *path); 
+dvdnav_status_t dvdnav_open(dvdnav_t** dest, char *path); 
 
 /**
  * Closes a dvdnav_t previously opened with dvdnav_open(), freeing any 
--- a/vm.c	Wed Apr 10 16:40:52 2002 +0000
+++ b/vm.c	Wed Apr 10 16:45:57 2002 +0000
@@ -162,7 +162,7 @@
   return vm->dvd;
 }
 
-int vm_reset(vm_t *vm, const char *dvdroot) /*  , register_t regs) */ { 
+int vm_reset(vm_t *vm, char *dvdroot) /*  , register_t regs) */ { 
   /*  Setup State */
   memset((vm->state).registers.SPRM, 0, sizeof(uint16_t)*24);
   memset((vm->state).registers.GPRM, 0, sizeof((vm->state).registers.GPRM));
@@ -1569,6 +1569,9 @@
 
 /*
  * $Log$
+ * Revision 1.9  2002/04/10 16:45:57  jcdutton
+ * Actually fix the const this time!
+ *
  * Revision 1.8  2002/04/10 16:40:52  jcdutton
  * Fix a const problem.
  *
--- a/vm.h	Wed Apr 10 16:40:52 2002 +0000
+++ b/vm.h	Wed Apr 10 16:45:57 2002 +0000
@@ -105,7 +105,7 @@
 int vm_jump_prog(vm_t *vm, int pr);
 
 /* Other calls */
-int vm_reset(vm_t *vm, const char *dvdroot); /*  , register_t regs); */
+int vm_reset(vm_t *vm, char *dvdroot); /*  , register_t regs); */
 int vm_start(vm_t *vm);
 int vm_eval_cmd(vm_t *vm, vm_cmd_t *cmd);
 int vm_get_next_cell(vm_t *vm);