Loading...
--- Libc/Libc-1725.40.4/stdtime/FreeBSD/difftime.c
+++ Libc/Libc-763.13/stdtime/FreeBSD/difftime.c
@@ -2,9 +2,6 @@
** This file is in the public domain, so clarified as of
** 1996-06-05 by Arthur David Olson.
*/
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wunreachable-code"
#include <sys/cdefs.h>
#ifndef lint
@@ -21,7 +18,9 @@
#include "un-namespace.h"
double
-difftime(const time_t time1, const time_t time0)
+difftime(time1, time0)
+const time_t time1;
+const time_t time0;
{
/*
** If (sizeof (double) > sizeof (time_t)) simply convert and subtract
@@ -68,4 +67,3 @@
return -(double) ((unsigned long) time0 +
(unsigned long) (-(time1 + 1)) + 1);
}
-#pragma clang diagnostic pop