Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
e21127bf
Commit
e21127bf
authored
Sep 03, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use weak symbol only on ELF targets
parent
8dd3b987
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
src/modules/bank.c
src/modules/bank.c
+8
-4
No files found.
src/modules/bank.c
View file @
e21127bf
...
@@ -71,11 +71,12 @@ static void module_StoreBank (module_t *module)
...
@@ -71,11 +71,12 @@ static void module_StoreBank (module_t *module)
modules
.
head
=
module
;
modules
.
head
=
module
;
}
}
#ifdef __GNUC__
#ifdef __ELF__
# ifdef __GNUC__
__attribute__
((
weak
))
__attribute__
((
weak
))
#else
#
else
#pragma weak vlc_static_modules
#
pragma weak vlc_static_modules
#endif
#
endif
extern
vlc_plugin_cb
vlc_static_modules
[];
extern
vlc_plugin_cb
vlc_static_modules
[];
static
void
module_InitStaticModules
(
void
)
static
void
module_InitStaticModules
(
void
)
...
@@ -89,6 +90,9 @@ static void module_InitStaticModules(void)
...
@@ -89,6 +90,9 @@ static void module_InitStaticModules(void)
module_StoreBank
(
module
);
module_StoreBank
(
module
);
}
}
}
}
#else
static
void
module_InitStaticModules
(
void
)
{
}
#endif
/**
/**
* Init bank
* Init bank
...
...
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