blob: 81ed744cbdb98e6c97a50eea470c9c7eed05ca0d [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001From 322e781c67d7a78fc2cfc3d377f50b825fc64abb Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 2 Jun 2017 20:21:01 -0700
4Subject: [PATCH] it tries to define this function differently than it is
5 defined in sys/time.h.
6
7Use the definition from system
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 Packages/RNG/Src/ranf.c | 3 ---
12 1 file changed, 3 deletions(-)
13
14diff --git a/Packages/RNG/Src/ranf.c b/Packages/RNG/Src/ranf.c
15index 5ca7dc5..e669fa8 100644
16--- a/Packages/RNG/Src/ranf.c
17+++ b/Packages/RNG/Src/ranf.c
18@@ -149,9 +149,6 @@ void Mixranf(int *s,u32 s48[2])
19 #else
20 struct timeval tv;
21 struct timezone tz;
22-#if !defined(__sgi)
23- int gettimeofday(struct timeval *, struct timezone *);
24-#endif
25
26 (void)gettimeofday(&tv,&tz);
27 s48[0] = (u32)tv.tv_sec;
28--
292.13.0
30