[vlc-devel] commit: Add some const ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Jan 30 22:54:35 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan 30 23:41:51 2010 +0200| [d640dbaf7dfc0cdc4d80888ac1ffb46b6e9d456d] | committer: Rémi Denis-Courmont
Add some const
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d640dbaf7dfc0cdc4d80888ac1ffb46b6e9d456d
---
src/modules/cache.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/modules/cache.c b/src/modules/cache.c
index d8efe76..257ff45 100644
--- a/src/modules/cache.c
+++ b/src/modules/cache.c
@@ -486,8 +486,8 @@ error:
}
}
-static int CacheSaveConfig (FILE *, module_t *);
-static int CacheSaveSubmodule (FILE *, module_t *);
+static int CacheSaveConfig (FILE *, const module_t *);
+static int CacheSaveSubmodule (FILE *, const module_t *);
static int CacheSaveBank (FILE *file, module_bank_t *p_bank)
{
@@ -581,7 +581,7 @@ error:
return -1;
}
-static int CacheSaveSubmodule( FILE *file, module_t *p_module )
+static int CacheSaveSubmodule( FILE *file, const module_t *p_module )
{
if( !p_module )
return 0;
@@ -606,7 +606,7 @@ error:
}
-static int CacheSaveConfig (FILE *file, module_t *p_module)
+static int CacheSaveConfig (FILE *file, const module_t *p_module)
{
uint32_t i_lines = p_module->confsize;
More information about the vlc-devel
mailing list