Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
7feea9d3
Commit
7feea9d3
authored
Jan 06, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused modules_t.b_reentrant
parent
70cf8109
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
7 deletions
+1
-7
src/modules/cache.c
src/modules/cache.c
+1
-5
src/modules/entry.c
src/modules/entry.c
+0
-1
src/modules/modules.h
src/modules/modules.h
+0
-1
No files found.
src/modules/cache.c
View file @
7feea9d3
...
@@ -84,7 +84,7 @@ static int CacheSaveConfig ( module_t *, FILE * );
...
@@ -84,7 +84,7 @@ static int CacheSaveConfig ( module_t *, FILE * );
/* Sub-version number
/* Sub-version number
* (only used to avoid breakage in dev version when cache structure changes) */
* (only used to avoid breakage in dev version when cache structure changes) */
#define CACHE_SUBVERSION_NUM
5
#define CACHE_SUBVERSION_NUM
6
/* Format string for the cache filename */
/* Format string for the cache filename */
#define CACHENAME_FORMAT \
#define CACHENAME_FORMAT \
...
@@ -286,7 +286,6 @@ void CacheLoad( vlc_object_t *p_this, module_bank_t *p_bank, bool b_delete )
...
@@ -286,7 +286,6 @@ void CacheLoad( vlc_object_t *p_this, module_bank_t *p_bank, bool b_delete )
LOAD_IMMEDIATE
(
pp_cache
[
i
]
->
p_module
->
i_score
);
LOAD_IMMEDIATE
(
pp_cache
[
i
]
->
p_module
->
i_score
);
LOAD_IMMEDIATE
(
pp_cache
[
i
]
->
p_module
->
i_cpu
);
LOAD_IMMEDIATE
(
pp_cache
[
i
]
->
p_module
->
i_cpu
);
LOAD_IMMEDIATE
(
pp_cache
[
i
]
->
p_module
->
b_unloadable
);
LOAD_IMMEDIATE
(
pp_cache
[
i
]
->
p_module
->
b_unloadable
);
LOAD_IMMEDIATE
(
pp_cache
[
i
]
->
p_module
->
b_reentrant
);
LOAD_IMMEDIATE
(
pp_cache
[
i
]
->
p_module
->
b_submodule
);
LOAD_IMMEDIATE
(
pp_cache
[
i
]
->
p_module
->
b_submodule
);
/* Config stuff */
/* Config stuff */
...
@@ -313,7 +312,6 @@ void CacheLoad( vlc_object_t *p_this, module_bank_t *p_bank, bool b_delete )
...
@@ -313,7 +312,6 @@ void CacheLoad( vlc_object_t *p_this, module_bank_t *p_bank, bool b_delete )
LOAD_IMMEDIATE
(
p_module
->
i_score
);
LOAD_IMMEDIATE
(
p_module
->
i_score
);
LOAD_IMMEDIATE
(
p_module
->
i_cpu
);
LOAD_IMMEDIATE
(
p_module
->
i_cpu
);
LOAD_IMMEDIATE
(
p_module
->
b_unloadable
);
LOAD_IMMEDIATE
(
p_module
->
b_unloadable
);
LOAD_IMMEDIATE
(
p_module
->
b_reentrant
);
}
}
}
}
...
@@ -566,7 +564,6 @@ void CacheSave( vlc_object_t *p_this, module_bank_t *p_bank )
...
@@ -566,7 +564,6 @@ void CacheSave( vlc_object_t *p_this, module_bank_t *p_bank )
SAVE_IMMEDIATE
(
pp_cache
[
i
]
->
p_module
->
i_score
);
SAVE_IMMEDIATE
(
pp_cache
[
i
]
->
p_module
->
i_score
);
SAVE_IMMEDIATE
(
pp_cache
[
i
]
->
p_module
->
i_cpu
);
SAVE_IMMEDIATE
(
pp_cache
[
i
]
->
p_module
->
i_cpu
);
SAVE_IMMEDIATE
(
pp_cache
[
i
]
->
p_module
->
b_unloadable
);
SAVE_IMMEDIATE
(
pp_cache
[
i
]
->
p_module
->
b_unloadable
);
SAVE_IMMEDIATE
(
pp_cache
[
i
]
->
p_module
->
b_reentrant
);
SAVE_IMMEDIATE
(
pp_cache
[
i
]
->
p_module
->
b_submodule
);
SAVE_IMMEDIATE
(
pp_cache
[
i
]
->
p_module
->
b_submodule
);
/* Config stuff */
/* Config stuff */
...
@@ -626,7 +623,6 @@ static int CacheSaveSubmodule( FILE *file, module_t *p_module )
...
@@ -626,7 +623,6 @@ static int CacheSaveSubmodule( FILE *file, module_t *p_module )
SAVE_IMMEDIATE
(
p_module
->
i_score
);
SAVE_IMMEDIATE
(
p_module
->
i_score
);
SAVE_IMMEDIATE
(
p_module
->
i_cpu
);
SAVE_IMMEDIATE
(
p_module
->
i_cpu
);
SAVE_IMMEDIATE
(
p_module
->
b_unloadable
);
SAVE_IMMEDIATE
(
p_module
->
b_unloadable
);
SAVE_IMMEDIATE
(
p_module
->
b_reentrant
);
return
0
;
return
0
;
error:
error:
...
...
src/modules/entry.c
View file @
7feea9d3
...
@@ -67,7 +67,6 @@ module_t *vlc_module_create (vlc_object_t *obj)
...
@@ -67,7 +67,6 @@ module_t *vlc_module_create (vlc_object_t *obj)
module
->
i_score
=
1
;
module
->
i_score
=
1
;
module
->
i_cpu
=
0
;
module
->
i_cpu
=
0
;
module
->
b_unloadable
=
true
;
module
->
b_unloadable
=
true
;
module
->
b_reentrant
=
true
;
module
->
b_submodule
=
false
;
module
->
b_submodule
=
false
;
module
->
pf_activate
=
NULL
;
module
->
pf_activate
=
NULL
;
module
->
pf_deactivate
=
NULL
;
module
->
pf_deactivate
=
NULL
;
...
...
src/modules/modules.h
View file @
7feea9d3
...
@@ -119,7 +119,6 @@ struct module_t
...
@@ -119,7 +119,6 @@ struct module_t
uint32_t
i_cpu
;
/**< Required CPU capabilities */
uint32_t
i_cpu
;
/**< Required CPU capabilities */
bool
b_unloadable
;
/**< Can we be dlclosed? */
bool
b_unloadable
;
/**< Can we be dlclosed? */
bool
b_reentrant
;
/**< Are we reentrant? */
bool
b_submodule
;
/**< Is this a submodule? */
bool
b_submodule
;
/**< Is this a submodule? */
/* Callbacks */
/* Callbacks */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment