patch-2.1.71 linux/include/linux/time.h

Next file: linux/include/linux/tty_driver.h
Previous file: linux/include/linux/scc.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.70/linux/include/linux/time.h linux/include/linux/time.h
@@ -15,7 +15,7 @@
  * change timeval to jiffies, trying to avoid the
  * most obvious overflows..
  */
-static inline unsigned long
+static __inline__ unsigned long
 timespec_to_jiffies(struct timespec *value)
 {
 	unsigned long sec = value->tv_sec;
@@ -28,7 +28,7 @@
 	return HZ * sec + nsec;
 }
 
-static inline void
+static __inline__ void
 jiffies_to_timespec(unsigned long jiffies, struct timespec *value)
 {
 	value->tv_nsec = (jiffies % HZ) * (1000000000L / HZ);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov