This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Time-HiRes: also hrt_ualarm_itimer() is unused
authorJarkko Hietaniemi <jhi@iki.fi>
Sun, 13 Mar 2016 23:55:56 +0000 (19:55 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Sun, 13 Mar 2016 23:57:02 +0000 (19:57 -0400)
dist/Time-HiRes/HiRes.xs

index 42f0fc2..fd78fd9 100644 (file)
@@ -485,12 +485,6 @@ hrt_ualarm_itimero(struct itimerval *oitv, int usec, int uinterval)
    return setitimer(ITIMER_REAL, &itv, oitv);
 }
 
-static int
-hrt_ualarm_itimer(int usec, int uinterval)
-{
-  return hrt_ualarm_itimero(NULL, usec, uinterval);
-}
-
 #endif /* #if !defined(HAS_UALARM) && defined(HAS_SETITIMER) */
 
 #if !defined(HAS_UALARM) && defined(HAS_SETITIMER)