Commit c6bd2dd5 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove dead old <sys/times.h> use

parent 49397ad5
......@@ -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], [], [],
[
......
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment