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
9ce7c7d9
Commit
9ce7c7d9
authored
Jan 27, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move 'struct stat' forward declaration where actually needed
parent
eb98fb58
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
include/vlc_common.h
include/vlc_common.h
+0
-5
include/vlc_fs.h
include/vlc_fs.h
+2
-0
src/modules/modules.h
src/modules/modules.h
+3
-0
No files found.
include/vlc_common.h
View file @
9ce7c7d9
...
...
@@ -388,7 +388,6 @@ typedef struct update_iterator_t update_iterator_t;
/* Meta engine */
typedef
struct
meta_engine_t
meta_engine_t
;
/* stat/lstat/fstat */
#ifdef WIN32
# include <sys/stat.h>
...
...
@@ -397,10 +396,6 @@ struct _stati64;
# define stat _stati64
# define fstat _fstati64
#endif
/* You should otherwise use vlc_stat and vlc_lstat. */
#else
struct
stat
;
#endif
/**
...
...
include/vlc_fs.h
View file @
9ce7c7d9
...
...
@@ -68,6 +68,8 @@ static inline void vlc_rewinddir( DIR *dir )
# define rewinddir vlc_rewinddir
#endif
struct
stat
;
VLC_API
int
vlc_stat
(
const
char
*
filename
,
struct
stat
*
buf
);
VLC_API
int
vlc_lstat
(
const
char
*
filename
,
struct
stat
*
buf
);
...
...
src/modules/modules.h
View file @
9ce7c7d9
...
...
@@ -121,6 +121,9 @@ void module_Unload (module_handle_t);
void
CacheMerge
(
vlc_object_t
*
,
module_t
*
,
module_t
*
);
void
CacheDelete
(
vlc_object_t
*
,
const
char
*
);
size_t
CacheLoad
(
vlc_object_t
*
,
const
char
*
,
module_cache_t
**
);
struct
stat
;
int
CacheAdd
(
module_cache_t
**
,
size_t
*
,
const
char
*
,
const
struct
stat
*
,
module_t
*
);
void
CacheSave
(
vlc_object_t
*
,
const
char
*
,
module_cache_t
*
,
size_t
);
...
...
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