Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
1b09c02c
Commit
1b09c02c
authored
Jan 24, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include assert.h when needed
parent
15e4046f
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
17 additions
and
12 deletions
+17
-12
include/vlc_common.h
include/vlc_common.h
+2
-1
include/vlc_services_discovery.h
include/vlc_services_discovery.h
+0
-3
src/config/core.c
src/config/core.c
+2
-4
src/config/file.c
src/config/file.c
+1
-0
src/config/intf.c
src/config/intf.c
+2
-4
src/input/decoder.c
src/input/decoder.c
+1
-0
src/input/input.c
src/input/input.c
+1
-0
src/input/item.c
src/input/item.c
+1
-0
src/input/meta.c
src/input/meta.c
+1
-0
src/misc/objects.c
src/misc/objects.c
+1
-0
src/modules/modules.c
src/modules/modules.c
+1
-0
src/network/tcp.c
src/network/tcp.c
+1
-0
src/playlist/search.c
src/playlist/search.c
+1
-0
src/playlist/services_discovery.c
src/playlist/services_discovery.c
+1
-0
src/stream_output/sap.c
src/stream_output/sap.c
+1
-0
No files found.
include/vlc_common.h
View file @
1b09c02c
...
...
@@ -53,7 +53,6 @@
*****************************************************************************/
#include <stdlib.h>
#include <stdarg.h>
#include <assert.h>
#include <string.h>
#include <stdio.h>
...
...
@@ -599,6 +598,8 @@ struct gc_object_t
VLC_GC_MEMBERS
};
#include <assert.h>
/* FIXME: should not be included here */
static
inline
void
__vlc_gc_incref
(
gc_object_t
*
p_gc
)
{
assert
(
p_gc
->
i_gc_refcount
>
0
);
...
...
include/vlc_services_discovery.h
View file @
1b09c02c
...
...
@@ -36,11 +36,8 @@ extern "C" {
* @{
*/
#include <assert.h>
#include <vlc_input.h>
#include <vlc_events.h>
#include <stdio.h>
#include <stdlib.h>
struct
services_discovery_t
{
...
...
src/config/core.c
View file @
1b09c02c
...
...
@@ -31,10 +31,8 @@
#include "vlc_charset.h"
#include <errno.h>
/* errno */
#ifdef HAVE_LIMITS_H
# include <limits.h>
#endif
#include <assert.h>
#include <limits.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
/* getuid() */
...
...
src/config/file.c
View file @
1b09c02c
...
...
@@ -32,6 +32,7 @@
#include <errno.h>
/* errno */
#include <stdbool.h>
#include <assert.h>
#ifdef HAVE_LIMITS_H
# include <limits.h>
...
...
src/config/intf.c
View file @
1b09c02c
...
...
@@ -31,10 +31,8 @@
#include "vlc_charset.h"
#include <errno.h>
/* errno */
#ifdef HAVE_LIMITS_H
# include <limits.h>
#endif
#include <assert.h>
#include <limits.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
/* getuid() */
...
...
src/input/decoder.c
View file @
1b09c02c
...
...
@@ -29,6 +29,7 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <assert.h>
#include <vlc/vlc.h>
...
...
src/input/input.c
View file @
1b09c02c
...
...
@@ -33,6 +33,7 @@
#include <ctype.h>
#include <limits.h>
#include <assert.h>
#include "input_internal.h"
...
...
src/input/item.c
View file @
1b09c02c
...
...
@@ -24,6 +24,7 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <assert.h>
#include <vlc/vlc.h>
#include "vlc_playlist.h"
...
...
src/input/meta.c
View file @
1b09c02c
...
...
@@ -36,6 +36,7 @@
#include "../playlist/playlist_internal.h"
#include <errno.h>
#include <limits.h>
/* PATH_MAX */
#include <assert.h>
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
...
...
src/misc/objects.c
View file @
1b09c02c
...
...
@@ -70,6 +70,7 @@
# include <fcntl.h>
# include <errno.h>
/* ENOSYS */
#endif
#include <assert.h>
/*****************************************************************************
* Local prototypes
...
...
src/modules/modules.c
View file @
1b09c02c
...
...
@@ -40,6 +40,7 @@
#include <stdlib.h>
/* free(), strtol() */
#include <stdio.h>
/* sprintf() */
#include <string.h>
/* strdup() */
#include <assert.h>
#ifdef HAVE_DIRENT_H
# include <dirent.h>
...
...
src/network/tcp.c
View file @
1b09c02c
...
...
@@ -33,6 +33,7 @@
#include <vlc/vlc.h>
#include <errno.h>
#include <assert.h>
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
...
...
src/playlist/search.c
View file @
1b09c02c
...
...
@@ -23,6 +23,7 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <assert.h>
#include <vlc/vlc.h>
#include "vlc_playlist.h"
...
...
src/playlist/services_discovery.c
View file @
1b09c02c
...
...
@@ -23,6 +23,7 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <assert.h>
#include <vlc/vlc.h>
#include "vlc_playlist.h"
...
...
src/stream_output/sap.c
View file @
1b09c02c
...
...
@@ -36,6 +36,7 @@
#include <stdio.h>
/* sprintf() */
#include <string.h>
#include <ctype.h>
/* tolower(), isxdigit() */
#include <assert.h>
#include <vlc_sout.h>
#include <vlc_network.h>
...
...
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