Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
616b36ce
Commit
616b36ce
authored
Feb 08, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vlc_os_specific.h: Use const for argv.
parent
06fe038d
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
9 deletions
+13
-9
include/vlc_os_specific.h
include/vlc_os_specific.h
+2
-2
src/misc/beos_specific.cpp
src/misc/beos_specific.cpp
+2
-2
src/misc/darwin_specific.c
src/misc/darwin_specific.c
+7
-3
src/misc/win32_specific.c
src/misc/win32_specific.c
+2
-2
No files found.
include/vlc_os_specific.h
View file @
616b36ce
...
...
@@ -48,8 +48,8 @@ extern "C" {
* Prototypes
*****************************************************************************/
#ifdef _NEED_OS_SPECIFIC_H
void
system_Init
(
libvlc_int_t
*
,
int
*
,
char
*
[]
);
void
system_Configure
(
libvlc_int_t
*
,
int
*
,
char
*
[]
);
void
system_Init
(
libvlc_int_t
*
,
int
*
,
c
onst
c
har
*
[]
);
void
system_Configure
(
libvlc_int_t
*
,
int
*
,
c
onst
c
har
*
[]
);
void
system_End
(
libvlc_int_t
*
);
#else
# define system_Init( a, b, c ) {}
...
...
src/misc/beos_specific.cpp
View file @
616b36ce
...
...
@@ -82,7 +82,7 @@ static void AppThread( vlc_object_t *p_appthread );
/*****************************************************************************
* system_Init: create a BApplication object and fill in program path.
*****************************************************************************/
void
system_Init
(
libvlc_int_t
*
p_this
,
int
*
pi_argc
,
char
*
ppsz_argv
[]
)
void
system_Init
(
libvlc_int_t
*
p_this
,
int
*
pi_argc
,
c
onst
c
har
*
ppsz_argv
[]
)
{
vlc_global
()
->
p_appthread
=
(
vlc_object_t
*
)
vlc_object_create
(
p_this
,
sizeof
(
vlc_object_t
)
);
...
...
@@ -95,7 +95,7 @@ void system_Init( libvlc_int_t *p_this, int *pi_argc, char *ppsz_argv[] )
/*****************************************************************************
* system_Configure: check for system specific configuration options.
*****************************************************************************/
void
system_Configure
(
libvlc_int_t
*
,
int
*
pi_argc
,
char
*
ppsz_argv
[]
)
void
system_Configure
(
libvlc_int_t
*
,
int
*
pi_argc
,
c
onst
c
har
*
ppsz_argv
[]
)
{
}
...
...
src/misc/darwin_specific.c
View file @
616b36ce
...
...
@@ -74,12 +74,13 @@ static CFArrayRef copy_all_locale_indentifiers(void)
/*****************************************************************************
* system_Init: fill in program path & retrieve language
*****************************************************************************/
void
system_Init
(
libvlc_int_t
*
p_this
,
int
*
pi_argc
,
char
*
ppsz_argv
[]
)
void
system_Init
(
libvlc_int_t
*
p_this
,
int
*
pi_argc
,
c
onst
c
har
*
ppsz_argv
[]
)
{
char
i_dummy
;
char
*
p_char
=
NULL
;
char
*
p_oldchar
=
&
i_dummy
;
unsigned
int
i
;
(
void
)
pi_argc
;
/* Get the full program path and name */
...
...
@@ -174,9 +175,11 @@ void system_Init( libvlc_int_t *p_this, int *pi_argc, char *ppsz_argv[] )
/*****************************************************************************
* system_Configure: check for system specific configuration options.
*****************************************************************************/
void
system_Configure
(
libvlc_int_t
*
p_this
,
int
*
pi_argc
,
char
*
ppsz_argv
[]
)
void
system_Configure
(
libvlc_int_t
*
p_this
,
int
*
pi_argc
,
c
onst
c
har
*
ppsz_argv
[]
)
{
(
void
)
p_this
;
(
void
)
pi_argc
;
(
void
)
ppsz_argv
;
}
/*****************************************************************************
...
...
@@ -184,6 +187,7 @@ void system_Configure( libvlc_int_t *p_this, int *pi_argc, char *ppsz_argv[] )
*****************************************************************************/
void
system_End
(
libvlc_int_t
*
p_this
)
{
(
void
)
p_this
;
free
(
vlc_global
()
->
psz_vlcpath
);
if
(
vlc_global
()
->
iconv_macosx
!=
(
vlc_iconv_t
)
-
1
)
...
...
src/misc/win32_specific.c
View file @
616b36ce
...
...
@@ -45,7 +45,7 @@
/*****************************************************************************
* system_Init: initialize winsock and misc other things.
*****************************************************************************/
void
system_Init
(
libvlc_int_t
*
p_this
,
int
*
pi_argc
,
char
*
ppsz_argv
[]
)
void
system_Init
(
libvlc_int_t
*
p_this
,
int
*
pi_argc
,
c
onst
c
har
*
ppsz_argv
[]
)
{
WSADATA
Data
;
...
...
@@ -139,7 +139,7 @@ typedef struct
char
data
[
0
];
}
vlc_ipc_data_t
;
void
system_Configure
(
libvlc_int_t
*
p_this
,
int
*
pi_argc
,
char
*
ppsz_argv
[]
)
void
system_Configure
(
libvlc_int_t
*
p_this
,
int
*
pi_argc
,
c
onst
c
har
*
ppsz_argv
[]
)
{
#if !defined( UNDER_CE )
/* Raise default priority of the current process */
...
...
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