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
c6bd2dd5
Commit
c6bd2dd5
authored
Jan 11, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dead old <sys/times.h> use
parent
49397ad5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
16 deletions
+1
-16
configure.ac
configure.ac
+1
-1
src/video_output/video_output.c
src/video_output/video_output.c
+0
-15
No files found.
configure.ac
View file @
c6bd2dd5
...
...
@@ -860,7 +860,7 @@ AC_EGREP_HEADER(strncasecmp,strings.h,[
dnl Check for headers
AC_CHECK_HEADERS(getopt.h strings.h locale.h xlocale.h)
AC_CHECK_HEADERS(fcntl.h sys/types.h sys/time.h sys/
times.h sys/
ioctl.h sys/stat.h sys/mount.h)
AC_CHECK_HEADERS(fcntl.h sys/types.h sys/time.h sys/ioctl.h sys/stat.h sys/mount.h)
AC_CHECK_HEADERS([arpa/inet.h netinet/in.h netinet/udplite.h sys/eventfd.h])
AC_CHECK_HEADERS([net/if.h], [], [],
[
...
...
src/video_output/video_output.c
View file @
c6bd2dd5
...
...
@@ -38,11 +38,6 @@
#include <stdlib.h>
/* free() */
#include <string.h>
#ifdef HAVE_SYS_TIMES_H
# include <sys/times.h>
#endif
#include <vlc_vout.h>
#include <vlc_filter.h>
...
...
@@ -1446,16 +1441,6 @@ static void CleanThread( vout_thread_t *p_vout )
*****************************************************************************/
static
void
EndThread
(
vout_thread_t
*
p_vout
)
{
#ifdef STATS
{
struct
tms
cpu_usage
;
times
(
&
cpu_usage
);
msg_Dbg
(
p_vout
,
"cpu usage (user: %d, system: %d)"
,
cpu_usage
.
tms_utime
,
cpu_usage
.
tms_stime
);
}
#endif
/* FIXME does that function *really* need to be called inside the thread ? */
/* Detach subpicture unit from both input and vout */
...
...
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