summaryrefslogtreecommitdiffstats
path: root/portbunny/timespec.patch
blob: 6ac01ae18cc496bb9a7f07cc37b2d8cf18c25a51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- PortBunny050109-dev/timespec_utils.c	2008-10-26 08:41:32.000000000 +0100
+++ PortBunny050109-dev/timespec_utils.c.new	2010-01-08 13:08:48.000000000 +0100
@@ -53,7 +53,7 @@
  
 
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)
-
+#if false
 void set_normalized_timespec(struct timespec *ts, time_t sec, long nsec)
 {
          while (nsec >= NSEC_PER_SEC) {
@@ -67,7 +67,7 @@
          ts->tv_sec = sec;
          ts->tv_nsec = nsec;
 }
-
+#endif
 #endif